/spy-brawl

Primary LanguageJavaScriptMIT LicenseMIT

What is 'Spy Brawl' ?

Bla bla cool game - play it on a computer or phone...

Dependency Status

How is this shit structured?

Well, it ain't. But it uses socket.io and express to run a node.js web server with websockets communication. For the web-part, it uses ES6-compliant angular and jade.

How to run

Please tell me oh great one, how do I, a simple dimwit, run your cool shit?

Prerequisites

Starting a local server

  • Install dependencies: npm install
  • Start the server: npm start (this will automatically reload every time index.js is changed)

Using livereload

  • If you haven't already, start a local server (see above)
  • Run npm run watch
  • Open web-client in a new tab (Default: http://localhost:5000/)

Deploying to heroku

  • git remote add heroku git@heroku.com:[project-name].git
  • git push heroku