浏览代码

edit read me

master
Daniel 3 年前
父节点
当前提交
db1b7b00ac
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. +5
    -2
      README.md

+ 5
- 2
README.md 查看文件

@@ -16,7 +16,7 @@
- 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)
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
- NOTE: the 'host' isn't 'localhost' here, use the name of the database service 'database' as it's configured in
the docker-compose.yml
@@ -37,7 +37,10 @@
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 :)
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
- The database content is stored in a container which is bind-mounted to the 'db'-folder of the project


正在加载...
取消
保存