npm install -g grunt-cli
npm install -g gulp
npm install -D gulp-jasmine
npm installUse the gen-idea sbt task to create Idea project files.
sbt gen-ideaFront-end dependencies can be installed by running following
npm installnpm install adds two directories:
- public/node_modules
- public/bower_components
Front-end files need to pass the process of concatenation, uglification, annotation, testing...
To prepare front-end files execute:
gulpTo continuously run gulp js task, execute:
gulp watchTo run the application in development mode (re-compiles with every change to the code):
activator runTo compile and run the application in production mode
activator stage
target/universal/stage/bin/tcbddheroku create --stack cedar --buildpack https://github.com/ddollar/heroku-buildpack-multi.git
git push heroku masteractivator runAll front-end JS unit tests are run as part of gulp. Alternative ways to run tests are described below.
Front-end unit testing
npm testFront-end unit testing without installation and dependencies
grunt jasmineBack-end unit testing
activator ~test-quickDirectory where PhantomJS, ChromeDriver and IEDriverServer are located must be in the system path.
