https://github.com/bigdropinc/yii2-docker-template
Yii2 dev-ready project template with docker by BigDrop
https://github.com/bigdropinc/yii2-docker-template
docker docker-compose php php7 project-template yii2
Last synced: about 2 months ago
JSON representation
Yii2 dev-ready project template with docker by BigDrop
- Host: GitHub
- URL: https://github.com/bigdropinc/yii2-docker-template
- Owner: bigdropinc
- Created: 2017-09-13T07:39:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T15:55:40.000Z (about 8 years ago)
- Last Synced: 2025-05-14T19:13:44.066Z (about 1 year ago)
- Topics: docker, docker-compose, php, php7, project-template, yii2
- Language: PHP
- Size: 94.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
#### 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](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](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.