Full Documentation: http://adaptivejs.mobify.com/
Getting started with Adaptive.js development involves a few steps:
To begin, clone this repository.
cd into your chosen folder, and run the following:
This will prepare your local adaptive.js environment for development.
The following dependencies will need to be installed to preview your changes:
These dependencies and their installation are described in greater detail in our Getting Started guide.
Once you have installed the previous dependencies, download the Adaptive.js Generator using the following command:
npm install -g generator-adaptivejs
After installation of the generator has finished, create a new directory for your test project using the generator. Run the following to generate a new project:
Answer the questions asked by the Yeoman generator to complete the process.
To link your local Adaptive.js repository for use as a Node module within the test project, run the following:
cd <your_adaptivejs_repo> npm link cd <your_test_project> npm link adaptivejs
Now any changes you make to your repository will be reflected in your test project.
cdinto your test project directory
To run tests in the terminal, run the following:
To run your tests in the browser, run the following:
and browse to: http://localhost:8888/tests/
When releasing a new version, follow these steps: