Skip to content

sjBao/tic-tac-toe

Repository files navigation

tic-tac-toe

demo: http://supuilam.com/tic-tac-toe

running on your machine:

clone the repository : git clone https://github.com/sjBao/tic-tac-toe.git

Because Rails and React are separate, first make sure dependencies are gathered. If you want to simply play the game and don't care about saving match results skip the rails portion.

  1. Rails:
  • $ bundle
  • $ rails db:create
  • $ rails db:migrate
  1. npm:
  • $ npm run build

After you've finish the set up you can run on your machine with $ rake start.
Alternatively, you can run without backend by going into client folder and running $ npm run start.