#Local Docker Compose
This Docker Compose stack needs Adimeo's local docker environnement. It can be found there : https://github.com/Core-Techs-Git/adimeo_docker_local
docker-compose up -d
docker-compose down
docker exec -it cp22_saulnier_php sh
drush sql:dump --structure-tables-list=cache,cache_*,sessions,watchdog --result-file=../dump.sql
drush sql:drop
drush sql:cli
mysql> source /chemin_dump/dump.sql --> ../dump.sql
(si erreur "Failed to open file dump.sql', error: 2" => mettre chemin absolu de la DB)
exit
drush cr
docker exec cp22_saulnier_db sh -c 'exec mysqldump -uroot -proot cp22_saulnier' > $PWD/dump.sql
docker exec -i cp22_saulnier_db sh -c 'exec mysql -uroot -proot cp22_saulnier' < $PWD/dump.sql
docker exec cp22_saulnier_php composer install
docker exec cp22_saulnier_php composer require drupal/module_name
...
docker exec cp22_saulnier_php drush cr
docker exec cp22_saulnier_php drush updb
...