Skip to content

lerimvydas/php-tic-tac-toe

Repository files navigation

php-tic-tac-toe

How to start the application

  1. Firstly you need to have Docker installed on your system.
  2. Clone this repository to your system with git clone
  3. Start the application by writing in your terminal docker-compose up -d
  4. Install Composer dependencies by running docker-compose exec web composer install
  5. Install npm dependencies by running docker-compose exec web npm install
  6. Build the frontend by running docker-compose exec web npm run build
  7. Start the game server by running docker-compose exec -d web symfony console SocketServer
  8. Start playing the game (http://localhost:8080/)