npm install -g martinet-ide
Recommended to ensure that everything is working as expected on your platform.
From the repository root:
Run all tests:
Run a specific test or set of tests:
npm install -g nodeunit
martinet initto initialize the directory with the "basic" project skeleton.
martinetto start the interactive development environment, and copy the URL shown in the terminal to a browser to live-preview your project. Any changes you make to your source files will trigger a project rebuilt and will automatically refresh your browsers.
Tip: If connecting from another device on the LAN (say a smartphone), instead of the host
0.0.0.0, use your computer's LAN IP address, which could be something like
Build your project into an optimized web-ready file distribution using
martinet build -c prod
from your project directory. The distribution is written into the
dist directory, after which
you can run
martinet deploy to deploy it incrementally (for speed).
Full documentation is available at http://martinet.io/.
The source for
martinet.io is included in the repository in the
directory, which is a Martinet project. Change to the
site directory and
martinet to serve a local version of