Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.43 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.43 KB

Build Status

This SDK is a toolkit to access to Movable Type's DataAPI.

Some files generated by this product are parts of the Movable Type.

Development

Environment

You can use docker compose to prepare your development environment.

  docker compose run builder /bin/bash
  [builder] npm install
  [builder] make

Prerequisites

Installation depends on node, npm, bower, and grunt-cli

To install node, see http://nodejs.org/ (If you are using Mac, you can install node via homebrew)

Then, you can install grunt-cli with npm like the following. When you have some error in installation, try sudo.

  [sudo] npm install -g bower
  [sudo] npm install -g grunt-cli

Building for develop

make dev task generate scripts in lib and dist directory from src directory, and run the dependant tasks

  make dev

Building for production

make build task generate optimized scrips in dist directory

  make build

Testing

make test task run tests with Node.js and PhantomJS.

  make test

You can also run tests with MT's PSGI Server, if you had been sat up MT and PSGI environment.

  MT_HOME=/path/to/mt make test

License

The MIT License (MIT)