|
|
|
@@ -21,7 +21,23 @@ |
|
|
|
- NOTE: the 'host' isn't 'localhost' here, use the name of the database service 'database' as it's configured in |
|
|
|
the docker-compose.yml |
|
|
|
- Finish the installation and have fun :) |
|
|
|
- NOTE: For full installation you have to wait until composer is fully done with installation if you install |
|
|
|
the project for the first time (or setting it up freshly). If you use Docker Desktop you can go to "Containers" |
|
|
|
and click on the container named "contao". Then you'll see the console output of this container and wait until it's |
|
|
|
done to ensure the project is running properly. |
|
|
|
- Contao will be available here: [http://localhost/contao](http://localhost/contao) |
|
|
|
- XDebug: |
|
|
|
- Xdebug is also available within this project. If you'd like to use it do the following in PHPStorm: |
|
|
|
1. Go to Preferences->PHP |
|
|
|
2. Click on "..."-button at CLI Interpreter |
|
|
|
3. A new window for CLI Interpreters will pop up |
|
|
|
4. Click on "+" in order to add a new CLI interpreter |
|
|
|
5. Select "From Docker, Vagrant, VM, WSL, Remote..." |
|
|
|
6. A new window will pop up and select radiobutton "Docker" (should be selected by default) here and then select |
|
|
|
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 |
|
|
|
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 :) |
|
|
|
|
|
|
|
# Some important information |
|
|
|
- The database content is stored in a container which is bind-mounted to the 'db'-folder of the project |
|
|
|
|