=======
Note that this seed project requires node v4.x.x or higher and npm 2.14.7.
git clone https://github.com/datarator/datarator-ui.git
cd datarator-ui
npm install # or `npm run reinstall` if you get an error
npm start # start with --env dev
npm run docs # api document for app
Does not rely on any global dependencies.
Default application server configuration
var PORT = 5555;
var LIVE_RELOAD_PORT = 4002;
var DOCS_PORT = 4003;
var APP_BASE = '/';
Configure at runtime
npm start -- --port 8080 --reload-port 4000 --base /my-app/
If you want to use your custom libraries:
npm install my-library --save
vim tools/config.js
Add reference to the installed library in PATH.src.jslib
(or whatever you like).
npm test
# Debug - In two different shell windows
npm run build.test.watch # 1st window
npm run karma.start # 2nd window
MIT