diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7b8e4c5 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "src"] + path = src + url = https://figureslibres.io/gitea/bachir/drupal-leshed.git diff --git a/Makefile b/Makefile index 997e246..2b3ac2a 100644 --- a/Makefile +++ b/Makefile @@ -41,28 +41,28 @@ ps: logs: docker-compose logs -f -maj_config: crd composer_install updb cim cr pag #dev.phpmyadmin.mathallo.fr +maj_config: crd composer_install updb cim cr pag #dev.phpmyadmin.leshed.fr crd: - docker exec mathallo-php-1 /bin/bash -c "drush cache-clear drush" + docker exec leshed-php-1 /bin/bash -c "drush cache-clear drush" composer_install: - docker exec mathallo-php-1 /bin/bash -c "composer install --no-dev" + docker exec leshed-php-1 /bin/bash -c "composer install --no-dev" updb: - docker exec mathallo-php-1 /bin/bash -c "drush updb -y" + docker exec leshed-php-1 /bin/bash -c "drush updb -y" cim: - docker exec mathallo-php-1 /bin/bash -c "drush config-import -y" + docker exec leshed-php-1 /bin/bash -c "drush config-import -y" # sync_struct: -# docker exec mathallo-php-1 /bin/bash -c "drush im --choice safe && drush ib --choice full" +# docker exec leshed-php-1 /bin/bash -c "drush im --choice safe && drush ib --choice full" cr: - docker exec mathallo-php-1 /bin/bash -c "drush cr" + docker exec leshed-php-1 /bin/bash -c "drush cr" pag: - docker exec mathallo-php-1 /bin/bash -c "drush pag all canonical_entities:node && drush pag all canonical_entities:taxonomy_term" + docker exec leshed-php-1 /bin/bash -c "drush pag all canonical_entities:node && drush pag all canonical_entities:taxonomy_term" restart_nginx: docker-compose restart nginx @@ -74,13 +74,13 @@ down: docker-compose down exec_nginx: - docker exec -it mathallo-nginx-1 bash + docker exec -it leshed-nginx-1 bash exec_php: - docker exec -it mathallo-php-1 bash + docker exec -it leshed-php-1 bash exec_mysql: - docker exec -it mathallo-mysql-1 bash + docker exec -it leshed-mysql-1 bash dump_db: - docker exec mathallo-mysql-1 sh -c 'exec mariadb-dump -uroot -pmathallo mathallo' > ./ressources/mathallo-$(DATE_NOW)-local.sql + docker exec leshed-mysql-1 sh -c 'exec mariadb-dump -uroot -pleshed leshed' > ./ressources/leshed-$(DATE_NOW)-local.sql diff --git a/src b/src new file mode 160000 index 0000000..3b9f726 --- /dev/null +++ b/src @@ -0,0 +1 @@ +Subproject commit 3b9f72637667d7be49ccfc1b2492ec840fce4792