We use Mocha as our test runner and Chai as our expectation library. To run tests once, run:
npm test
To run tests in continous mode (will re-run on code changes), run:
npm run test:watch
Development mode uses React Hot Loader for instaneous live-reloading.
To kick things off, make sure you can successfully npm install
dependencies, then just run: npm run start:dev
Point your browser at http://localhost:3000
We use PM2 as our Node Process Manager. The main start
script (described below)
automatically starts Node in cluster mode.
For production deployment, first, ensure that
npm run build
completes successfully. This will generate minified CSS and JS files.
Then to kick things off, run
npm start