Skip to content

Latest commit

 

History

History
executable file
·
22 lines (16 loc) · 965 Bytes

README.md

File metadata and controls

executable file
·
22 lines (16 loc) · 965 Bytes

football-radar

Codeship Status for jakubsikora/football-radar

Simulate Premier League 2011/12 (React + Backbone + Websockets)

Installation

  1. Clone the repo.
  2. Make sure you have node version min 0.12.5 installed.
  3. Inside the repo folder run npm install.
  4. Then to build and start the app npm run build-production && npm start or npm run build-dev && npm start.
  5. By default app should be accessible via http://localhost:3000.

Tests

To run tests inside repo folder type npm test;

Custom ports

By default app is using port 3000 for the web server and 8080 for websocket server. Also localhost as the app host. By running:

  1. SERVER_PORT=xxxx WS_PORT=xxxx WS_HOST=xxxxxx npm build-production
  2. SERVER_PORT=xxxx WS_PORT=xxxx WS_HOST=xxxxxx npm start

you can override the default settings.