This project provides an app for teachers to provide students packages of words in the related student-oriented StoryBuilder app.
- Git
- Node.js and npm Node ^4.2.3, npm ^2.14.7
- Bower (
npm install --global bower
) - Grunt (
npm install --global grunt-cli
) - MongoDB - Keep a running daemon with
mongod
- Sass (
gem install sass
, if you have ruby)
- Aquire seed data from our google-drive shared folder and place it in ./seeds directory. You will also need server/config/environment/local.env.js from google-drive.
You may need to execute
-
Run
npm install
to install server dependencies. -
Run
bower install
to install front-end dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running. If you are developing at UMM, this should already be set up. -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
Run grunt build
for building and grunt serve
for preview.
Use :
- grunt test to run all tests
- grunt autotest for autotesting
- grunt autotest:server to autorun server-side tests
- grunt autotest:client to autorun client-side tests
You may need ./node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update
to run e2e tests.