Yii v2 snippet guide III

Comparing #57 with #58

Revision #58 was created by rackycz rackycz on Mar 9, 2021, 10:51:29 AM.

Docker

Content

[...]
Just copy the adminer.php script to your docroot and access it via browser. Use the same login as in configurafion of Yii. Server will be localhost.

**Running Yii project in Docker (Update: xDebug added below!)**
---

*Note: I am showing the advanced application. Basic application will not be too different I think.
 Great Docker tutorial is [here](https://www.sitepoint.com/docker-php-development-environment/)*

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
[...]