API and Web application for Russian version of This or That game.
- Download repository from GitHub:
git clone https://github.com/antonlukin/thisorthat.git
- Create
.env
file from.env.example
- Install required packages with
composer update
andyarn
- Use
pm2 start image/app.js --name avatars
to start avatar service - Set cron tasks for
cron/
scripts
- Use
yarn build
to build web app - Update
docs/files/index.md
and rebuild html withyarn docs
- NodeJS 14.0+
- PHP 7.0+ with Redis and MySQL extensions
- Redis server 4.0+
- Cron service for moderation handlers
- MySQL 5.6+
- Yarn and Composer to build application
- pm2 for starting avatar service