This project was demonstrated at the 2016 Medieval Academy of America Annual Meeting
This project was generated with the Angular Full-Stack Generator
- Git
- Node.js and npm
- Bower (
npm install -g bower
) - Grunt (
npm install -g grunt-cli
) - MongoDB - Keep a running daemon with
mongod
-
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 -
Run
grunt monogoimport
to populate the mongo database -
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.
Run grunt
and grunt buildcontrol:heroku
Run grunt test
to run client and server tests. Run grunt test:e2e
to run end
to end protractor tests.
To get test coverage, run grunt test:coverage
If the end to end tests fail, you might need to install or update Selenium
WebDriver. To update Selenium WebDriver, run npm update-webdriver
To install Selenium WebDriver, run the following commands from the project directory:
cd node_modules/grunt-protractor-runner/
npm install
Copyright © 2015-2017 Joseph P. Hayes
Released under the MIT license.