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
.envfile from.env.example - Install required packages with
composer updateandyarn - Use
pm2 start image/app.js --name avatarsto start avatar service - Set cron tasks for
cron/scripts
- Use
yarn buildto build web app - Update
docs/files/index.mdand 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