Make sure you have docker and docker-compose installed.
Create environment files at stage/env/dev.env and deploy_files/env/prod.env . You can use stage/dev.env.example file as an example. For Google OAuth and Yandex OAuth to work you need to set this env variables with values given after registering app in Google and Yandex:
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- YANDEX_CLIENT_ID
- YANDEX_CLIENT_SECRET
npm install
npm run docker:stage
The game will be launched at https://localhost:5000
npm run validate
npm run test
npm run lint:all