Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 1.09 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.09 KB

Circle CI Code Climate

Tech@NYU Intranet

Installation

git clone https://github.com/TechAtNYU/intranet
cd intranet
npm install

Running

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.

  • Staging site builds from the develop branch
  • Remember to change the API url from https://api.tnyu.org/v3 to https://api.tnyu.org/v3-test in app/js/app.jsRestangularProvider.setBaseUrl

Testing

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