-
Notifications
You must be signed in to change notification settings - Fork 0
Testing the Frontend locally (Second Version)
amaschell edited this page Dec 28, 2014
·
4 revisions
- Make sure that the following components are installed/available on the computer:
-
node.js:http://nodejs.org/ -
bower:http://bower.io/ -
grunt:http://gruntjs.com/
- Go to the directory
frontendand runnpm installto install the necessary dependencies defined in thepackage.jsonfile.
- Now go to the directory
frontend/publicand runbower installto install the necessary dependencies defined inbower.json.
- Subsequently go back to the directory
frontendand rungruntso that the grunt configuration and grunt tasks, defined inGruntfile.jsandfrontend/grunt, are built correctly.
- Now all required modules should be installed and the application should be working when the
index.htmlis 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"