Like ember-cli, but for Movable Ink apps.
yarn global add @movable/cli
movable new my-app
cd my-app
movable serveThis 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)
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.
Run all of the tests:
yarn run testCheck out this repository and install dependencies:
git clone https://github.com/movableink/movable-cli.git
cd movable-cli
yarnSet up your PATH to use your local movable command:
export PATH=`pwd`/bin:$PATHNow 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:4044Then, to use the local endpoints, run source ~/local-movable.sh before you run movable login.
See LICENSE.md.