@movable/cli

    0.21.0 • Public • Published

    movable-cli

    Like ember-cli, but for Movable Ink apps.

    Usage

    yarn global add @movable/cli
    movable new my-app
    cd my-app
    movable serve

    This utility takes care of the following:

    • Creating new apps from the default app blueprint (movable new my-app)
    • Building apps (movable build)
    • Serving those apps from a webserver (movable serve)
    • Updating an app to the latest blueprint (movable init)

    MDK Development

    Everything below this point is about making modifications to the MDK itself. If you just want to use the MDK to build apps, you can find more documentation on the wiki.

    Testing

    Run all of the tests:

    yarn run test

    Local Usage

    Check out this repository and install dependencies:

    git clone https://github.com/movableink/movable-cli.git
    cd movable-cli
    yarn

    Set up your PATH to use your local movable command:

    export PATH=`pwd`/bin:$PATH

    Now you can run commands like movable new using your local movable-cli. If you want to set up movable to use a non-production oAuth server, you can create a file such as ~/local-movable.sh where you set some environment variables:

    export OAUTH_CLIENT_ID=changeme00000000000000000000000000000000000000000
    export OAUTH_CLIENT_SECRET=changeme000000000000000000000000000000000000000000
    export DASHBOARD_URL=http://localhost:3000
    export DEPLOY_URL=http://localhost:4044

    Then, to use the local endpoints, run source ~/local-movable.sh before you run movable login.

    License

    See LICENSE.md.

    Install

    npm i @movable/cli

    DownloadsWeekly Downloads

    33

    Version

    0.21.0

    License

    SEE LICENSE IN LICENSE.md

    Unpacked Size

    465 kB

    Total Files

    88

    Last publish

    Collaborators

    • movable-ink
    • uyethon
    • mnutt
    • shyshy
    • joxamo18
    • psalant726
    • kruggeri
    • nicksteffens_mi
    • mansurtsutiev
    • alexlafroscia
    • cwervo
    • megoetzke
    • aguevara23
    • mi_rtepper
    • theron
    • aqmnguyen