| @@ -16,7 +16,7 @@ | |||||
| - The database name is free to chose but in this example the database name 'contao' is being used | - The database name is free to chose but in this example the database name 'contao' is being used | ||||
| - Another way is to connect to phpmyadmin via [localhost:8080](http://localhost/8080) | - Another way is to connect to phpmyadmin via [localhost:8080](http://localhost/8080) | ||||
| as it's configured in docker-compose.yml | as it's configured in docker-compose.yml | ||||
| - Open [contao manager](http://localhost/contao/install) in browser after database creation in order to install contao | |||||
| - Open [contao install](http://localhost/contao/install) in browser after database creation in order to install contao | |||||
| - Step through the installation process until you get to enter the database credentials | - Step through the installation process until you get to enter the database credentials | ||||
| - NOTE: the 'host' isn't 'localhost' here, use the name of the database service 'database' as it's configured in | - NOTE: the 'host' isn't 'localhost' here, use the name of the database service 'database' as it's configured in | ||||
| the docker-compose.yml | the docker-compose.yml | ||||
| @@ -37,7 +37,10 @@ | |||||
| the docker image, which is "php-apache-contao:latest" in this case | the docker image, which is "php-apache-contao:latest" in this case | ||||
| 7. After selection the PHP version will be displayed and also the XDebug version | 7. After selection the PHP version will be displayed and also the XDebug version | ||||
| 8. Actually you're done, but you should set the "PHP language level" on the first screen on the same PHP Version | 8. Actually you're done, but you should set the "PHP language level" on the first screen on the same PHP Version | ||||
| as your CLI Interpreter to make sure that PHPStorm helps you with your very PHP version :) | |||||
| as your CLI Interpreter to make sure that PHPStorm helps you with your very PHP version :) | |||||
| 9. To test if xdebug is running properly, just set a breakpoint in "app/contao/public/index.php" and execute | |||||
| some contao "action" in your browser e.g. [contao install](http://localhost/contao/install). | |||||
| Xdebug should stop at your breakpoint :) | |||||
| # Some important information | # Some important information | ||||
| - The database content is stored in a container which is bind-mounted to the 'db'-folder of the project | - The database content is stored in a container which is bind-mounted to the 'db'-folder of the project | ||||