Skip to content

movabletype/mt-data-api-sdk-js

Repository files navigation

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)

About

Movable Type JavaScript SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages