@movable/cli

Create and manage Movable Ink Studio applications

Stats

StarsIssuesVersionUpdatedCreatedSize
@movable/cli
2220.21.03 years ago4 years agoMinified + gzip package size for @movable/cli in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.