Skip to content

bigdropinc/yii2-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RUN ./install-once.sh !!!

example_project

Deploy

./deploy [-e local|dev|prod|test]

Environment is local by default.

Your project will be available at http://localhost:12421

Run tests

./tests [dev-mode] "dev-mode" recreates test containers and drops it after execution.

Generate docs

After each test execution api docs will be created. How to: http://apidocjs.com

Configuring XDebug for PHPStorm

  • Open Settings -> Languages & Frameworks -> PHP -> Servers
  • Click +
  • Enter params:
    • Name: nginx
    • Host: nginx
    • Port: 80
    • Debugger: XDebug
    • Use path mapping: yes
    • Set path mapping @project/app to /www, where @project - your project directory
    • Save
  • Click "Start listening for PHP Debug connections"
  • Enjoy!

You able to debug tests too.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published