Compare commits

5 Commits
Author SHA1 Message Date
bachir a63aa691fc fixed make dump_db 2024-06-24 12:58:15 +02:00
bachir 03a894c9f3 readme & src 2023-12-01 11:09:42 +01:00
bachir 949092d515 new drupal commits 2023-11-24 11:51:42 +01:00
bachir 1084388e21 updated makfile 2023-11-21 11:04:39 +01:00
bachir d052ac70f3 new drupal commits 2023-11-21 10:56:36 +01:00
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -35,7 +35,7 @@ ps:
logs: logs:
docker-compose logs -f docker-compose logs -f
maj_config: crd composer_install updb cim cr pag #dev.phpmyadmin.reha.fr maj_config: crd composer_install updb cim cac cr #pag
crd: crd:
docker exec reha-php-1 /bin/bash -c "drush cache-clear drush" docker exec reha-php-1 /bin/bash -c "drush cache-clear drush"
@@ -49,8 +49,8 @@ updb:
cim: cim:
docker exec reha-php-1 /bin/bash -c "drush config-import -y" docker exec reha-php-1 /bin/bash -c "drush config-import -y"
# sync_struct: cac:
# docker exec reha-php-1 /bin/bash -c "drush im --choice safe && drush ib --choice full" docker exec reha-php-1 /bin/bash -c "drush content_as_config:import block_content --style=safe && drush content_as_config:import menu_link_content --style=safe"
cr: cr:
docker exec reha-php-1 /bin/bash -c "drush cr" docker exec reha-php-1 /bin/bash -c "drush cr"
@@ -77,4 +77,4 @@ exec_mysql:
docker exec -it reha-mysql-1 bash docker exec -it reha-mysql-1 bash
dump_db: dump_db:
docker exec reha-mysql-1 sh -c 'exec mysqldump -uroot -preha reha' > ./ressources/reha-$(DATE_NOW)-local.sql docker exec reha-mysql-1 sh -c 'exec mariadb-dump -uroot -preha reha' > ./ressources/reha-$(DATE_NOW)-local.sql
+2 -2
View File
@@ -153,7 +153,7 @@ make up
Be aware that a first up, since the db is empty, it will be populated with your files ressources/db_d7.sql and ressources/db_d9.sql. It may take some time depending of your db size. Be aware that a first up, since the db is empty, it will be populated with your files ressources/db_d7.sql and ressources/db_d9.sql. It may take some time depending of your db size.
## Drupal Composer install ## Drupal Composer install
Only at first up, finish to install drupal 9 composer dependencies Only at first up, finish to install drupal composer dependencies
```sh ```sh
make exec_php make exec_php
composer install composer install
@@ -162,7 +162,7 @@ make composer_install
``` ```
## Visualize ## Visualize
You can now visit http://dev.d7.reha.archi.fr and http://dev.d9.reha.archi.fr on your browser You can now visit http://dev.reha.fr on your browser
After the first run After the first run
## Coding ## Coding
+1 -1
Submodule src updated: 5998f9fc27...69d3047cfc