From 010537df3733391267199e6359f57caa57d3e6a2 Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 18 Jun 2021 10:16:05 +0200 Subject: [PATCH] removed xedbug.ini from tree, added xdebug in readme and xdebug.ini.exemple --- .gitignore | 2 ++ README.md | 6 ++++-- ressources/{xdebug.ini => xdebug.ini.exemple} | 0 3 files changed, 6 insertions(+), 2 deletions(-) rename ressources/{xdebug.ini => xdebug.ini.exemple} (100%) diff --git a/.gitignore b/.gitignore index 6cac38d..d8d57d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ public_html/* log/* *.sql +*/*.gz +ressources/xdebug.ini diff --git a/README.md b/README.md index 298c6dd..12fb99b 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,7 @@ Popsu powered by druapl 7 in docker environement (nginx, php:5.6-fpm+drush, mar ``` sudo pacman -S docker docker-compose docker-machine ``` - -start the docker service +art the docker service ``` sudo systemctl start docker ``` @@ -39,6 +38,9 @@ cp -r ressources/d9/settings.local.php src_d9/web/sites/default/ ### get the sites/default/files folder rsync the files from you know where (if you don't, you don't) to src_d7/sites/default/files/ and src_d9/web/sites/default/files/ +### xdebug +copy ```ressources/xdebug.ini.exemple``` to ```ressources/xdebug.ini``` and edit the ```xdebug.remote_host``` ip to your host locale ip (e.g. : 192.168.0.23) (or once the docker is started to the host ip from the container point of vu e.g. 172.21.0.1) + ## Mysql Copy your-sql-dump.sql files into ```./ressources/popsu_d7.sql``` and ```./ressources/popsu_d9.sql``` They will be automaticly imported into the mysql containers dbs (only) on the first docker-compose up diff --git a/ressources/xdebug.ini b/ressources/xdebug.ini.exemple similarity index 100% rename from ressources/xdebug.ini rename to ressources/xdebug.ini.exemple