Voting Information Project web app.
- Download node.js modules using
npm install
- Download libraries using
bower install
- Run the app with
node app.js
grunt sass
- compile Sass files to cssgrunt gjslint
- run the Closure Linter to inspect our JavaScript filesgrunt watch
- watch for changes to the Sass and HTML files and automatically reload the page in your browser (requires LiveReload or LiveReload Chrome extension)
- Log into the Crowd Server (link coming sooon)
- Click on
Users
tab - Click on
Add User
in sidebar - Enter user information and click
Create
button, which should take you to details for the new user - Add the user to
vip-user
group and clickUpdate
For more information see the Crowd Admin Guide.
- install karma
npm install karma
- run karma
karma start _name of config file_
WebStorm also has a built in build configuration for karma which breaks down each test. Karma is configured to use chrome as the default browser.
- Give permissions to RunFunctional.sh
chmod +x RunFunctional.sh
- Double click or run through terminal using
./RunFunctional.sh
- install jasmine-node
npm install jasmine-node -g
- Run Unit Tests
jasmine-node public/test/nodeUnit