Dashboard
##TODO
At some point, description of the project structure + instructions of how to run + guidelines + etc
##How to run
###Front-end
- Go to
./public
- Install all NPM dependencies :
npm install
- Prepare the front end :
grunt
(you can also usegrunt dev
to avoid js minification). This will run JsHint on the code, install required Bower dependencies, concat and minify the front-end. You can then let the watch running to let it run the Grunt tasks when a file is modified.
###Back-end
- Go back to root directory
- Run MongoDB's deamon :
mongod
. - Create the tailable collections in Mongo :
use lattice; db.createCollection('quotes', { capped: true, size: 10000 });
in Mongo console. - Run play. In dev mode, the best way is to run
./activator ui
and use it to compile and run. For an unknown reason this is the only way to use automatic compilation and avoid crashes ... - You can access the application following
http://localhost:9000