Skip to content

Testing the Frontend locally (Second Version)

amaschell edited this page Dec 28, 2014 · 4 revisions
  1. Make sure that the following components are installed/available on the computer:

  1. Go to the directory frontend and run npm install to install the necessary dependencies defined in the package.json file.

  1. Now go to the directory frontend/public and run bower install to install the necessary dependencies defined in bower.json.

  1. Subsequently go back to the directory frontend and run grunt so that the grunt configuration and grunt tasks, defined in Gruntfile.js and frontend/grunt, are built correctly.

  1. Now all required modules should be installed and the application should be working when the index.html is opened/started (e.g. in the browser).

If no error occurs, there are hard-coded logins for the user roles:

  • Normal user: email = "student" password = "abc"
  • Study creating user: email = "studycreator" password = "creator"
  • Adviser: email = "studyadviser" password= = "adviser"

Clone this wiki locally