Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

vasiakorobkin/yii2-testcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii 2 Testcase

make build will use docker to:

  • create db container and app database in it
  • install vendor dependencies using composer
  • create and configure app container, apply yii2 migrations and launch yii2 server at the port :80 of docker host

you could also:

  • make term to get bash prompt at app container
  • make mysql to get mysql prompt at db container
  • make chown to change ./app folders owner uid and gid to the ones of user executing command (because docker run under root file created by it belongs to root uid and gid)
  • make stop to stop db and app containers (also trigges make chown)
  • make or make run to start db and app containers
  • make clean to remove db and app containers

About

Quickly hacked this testcase to prove my skills (NOTE: i've never used yii before)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published