Skip to content

idetinkin/slotegrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slotegrator

How to run

  1. Clone the source: git clone https://github.com/idetinkin/slotegrator ./
  2. Change permissions for runtime folders:
chmod 777 -R app/frontend/runtime
chmod 777 -R app/console/runtime
  1. Run Docker: docker-compose up -d
  2. Connect to the docker container "php": docker-compose exec php bash

Inside the docker container run:

  1. Update composer: composer update
  2. Initialize config: ./init --env=Development --overwrite=All --delete=All
  3. 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

Commands available inside the docker container "php"

  • ./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 prizes
  • php vendor/bin/codecept run frontend/tests/unit/components/prize/prizeHelpers/MoneyPrizeHelperTest - run unit tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published