- Linux-based OS
- Nginx, PHP-FPM via socket, Memcache via TCP/IP, MySQL
- PHP Extensions: PDO, PDO Mysql, Memcached
- Composer
- All files must be placed at
/var/www/simplemmo.local
- In file
/etc/nginx/nginx.conf
inhttp
section include file/var/www/simplemmo.local/config/nginx.conf
- Restart
nginx
- In file
/etc/hosts
put127.0.0.1 simplemmo.local
- Run
composer install
- Create MySQL user
simplemmo
with passwordsimplemmo
- Create database with name
simplemmo
and grant full access for usersimplemmo
- Import into database
simplemmo
filesql/data.sql
from project root. - Run bot generation:
./bin/create_bots 1000
- Open in browser
simplemmo.local
Run ./vendor/bin/phpunit