- Clone the source:
git clone https://github.com/idetinkin/slotegrator ./
- Change permissions for runtime folders:
chmod 777 -R app/frontend/runtime
chmod 777 -R app/console/runtime
- Run Docker:
docker-compose up -d
- Connect to the docker container "php":
docker-compose exec php bash
- Update composer:
composer update
- Initialize config:
./init --env=Development --overwrite=All --delete=All
- Apply database migrations:
./yii migrate
The website now is available by http://localhost:8100/
To use it, you need to Signup and then to Login
./yii prize/deliver-thing 5
- set status to Delivered for the prize thing with ID=5./yii prize/deliver-money-batch 3
- deliver 3 oldest money prizesphp vendor/bin/codecept run frontend/tests/unit/components/prize/prizeHelpers/MoneyPrizeHelperTest
- run unit tests