Ramsey Game

This is implementation of ramsey game, it is graph, mathematical game. Rules of game: http://pi.math.cornell.edu/~mec/2003-2004/graphtheory/ramsey/howtoplayramsey.html

Demo

It is available on heroku server: http://ramsey-game.herokuapp.com/#/

How to prepare local environment

  1. Install frontend dependencies
cd ramsey_front
yarn install
  1. Install backend dependencies
cd ramsey_server
# virtual env recommended
pip install -r requirements.txt  

How to run it locally?

  1. start the frontend server
cd ramsey_front
yarn run dev
  1. start backend server
./start_server
  1. Applications are accessible under
    • front - localhost:8080
    • backend - localhost:8000 -> will serve prebuild version of front on /

How to deploy to heroku

  1. checkout to the heroku branch
  2. build new fronted with command TODO: move it to the ci
cd ramsey_front
yarn run build
  1. push new version to the heroku branch