Angular app for testing Piazza services
- nginx 1.8.1
Note: Unit tests require NodeJS 5 or later (for any npm
command)
- Clone this repo
- Copy nginx.conf from sak_repo_root/conf to nginx_install_dir/conf
- Edit nginx.conf line 50 to point to your sak location
- Start nginx and go to https://localhost/
- Make sure the app isn't running
- From the project's root directory, run
npm install
- Run
./node_modules/karma/bin/karma start
Troubleshooting: If phantomjs is having problems starting it may need to be installed globally via npm install -g phantomjs-prebuilt