removed xedbug.ini from tree, added xdebug in readme and xdebug.ini.exemple

This commit is contained in:
Bachir Soussi Chiadmi 2021-06-18 10:16:05 +02:00
parent d2df8ecf79
commit 010537df37
3 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
public_html/*
log/*
*.sql
*/*.gz
ressources/xdebug.ini

View File

@ -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