/blackout

📱🖥📱Multi-player & cross-device game experiment about net neutrality

Primary LanguageJavaScript

Blackout

📱 🖥️ 📱

This project is a multi-player and cross-device game experiment about net neutrality.

Made with ❤️ and :

Installation

Set node version

  nvm use

Client

  1. Go to client/ folder

  2. Install dependencies

    yarn install
  3. Run app

    yarn start

Server

  1. Go to server/ folder

  2. Install dependencies

    yarn install
  3. Run server

    yarn server

Client / Server

Optional : If you want to run client and server with one command follow these steps

  1. Go to / folder

  2. Install dependencies

    yarn install
  3. Run client and server

    yarn dev

Deploy

Client

  1. Go to client/ folder

  2. Build app

    yarn build

Server

  1. Go to server/ folder

  2. Build server

    yarn build
  3. Commit your changes (and your build folder)

  4. Go to / folder

  5. Push to heroku

    git subtree push --prefix server heroku master

    If your are this issue try this :

    git push heroku `git subtree split --prefix server master`:master --force