git clone https://github.com/TechAtNYU/intranet
cd intranet
npm install
The application is 100% front-end (Angular 1.2) and runs using the http-server
package.
Start the HTTP server with:
npm start
Navigate to
localhost:3000
If you try to use 127.0.0.1:3000
, it will tell you that you are unauthorized.
develop
branchhttps://api.tnyu.org/v3
to https://api.tnyu.org/v3-test
in app/js/app.js
– RestangularProvider.setBaseUrl
The application uses Karma + Jasmine for unit testing and by default executes using PhantomJS. Unit tests can be found in /test/unit
.
Start the unit-test server with:
npm test