Revision #46 has been created by rackycz on Mar 7, 2021, 8:25:31 PM with the memo:
Docker
« previous (#45) next (#47) »
Changes
Title
unchanged
Yii v2 snippet guide III
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,yii2,beginer
Content
changed
[...]
**Running Yii project in Docker (now without xDebug)**
---
*Note: I am showing the advanced application. Basic application will not be too different I think.*
Yii projects are already prepared for Docker. To start you only have to install Docker from www.docker.com and you can go on with this manual.
- Download the application template and extract it to any folder
- Open command line and navigate to the project folder
- Run command **docker-compose up -d**
- Argument -d will run docker on the background as a service
- Advantage is that command line will not be blocked - you will be able to call more commands
- Run command **init** to initialize the application[...]