diff --git a/README.md b/README.md index 9b74c65..e7654d5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -#### instal docker and drupal +# instal docker and drupal -## Clone this repos +### Clone this repos clone a older docker of a similar project @@ -13,7 +13,7 @@ git clone -o gogs gogs@figureslibres.io:bachir/docker-popsu.git or download docker folder from gogs -## Change name and old project occurences +### Change name and old project occurences open folder in Vscodium and : @@ -32,7 +32,7 @@ Makefile docker > nginx > default.conf -## xdebug +### xdebug copy ```ressources/xdebug.ini.exemple``` to ```ressources/xdebug.ini``` @@ -56,7 +56,7 @@ git push -u origin master ``` -## Hosts and reverse proxy +### Hosts and reverse proxy add to your /etc/hosts : ``` @@ -115,27 +115,27 @@ sudo ln -s /etc/nginx/sites-available/dev.training.fr.conf /etc/nginx/sites-enab sudo systemctl restart nginx ``` -### build docker +## build docker ``` make build make up make ps ``` -### instal drupal with composer +## instal drupal with composer ``` cd public_html composer create-project drupal/recommended-project:^9.5 . ``` -## clone this profile into profiles folder +### clone this profile into profiles folder ``` cd profiles git clone -o figli https://figureslibres.io/gogs/bachir/drupal-starterkit-profile.git ``` -## include the profile's composer file to the main drupal's composer file +### include the profile's composer file to the main drupal's composer file install composer-merge-plugin ``` @@ -157,14 +157,14 @@ then in main drupal's composer.js file add this in extra } ``` -## install the profile's merged dependencies with composer +### install the profile's merged dependencies with composer cd ../ composer update -### sites/default setup +## sites/default setup ``` mkdir -p web/sites/default/files @@ -183,7 +183,7 @@ chmod g+r web/sites/default/settings.php ``` exit container php as root ```ctrl + D``` -### install database with install drupal on navigator +## install database with install drupal on navigator choose profile figli starter kit @@ -195,7 +195,7 @@ hosts : mysql in dump databse there will be files but also modules config -### git the drupal (src folder) +## git the drupal (src folder) ``` git init @@ -283,13 +283,13 @@ git commit -m "added drupal submodule" git push origin master ``` -### check drush +## check drush ``` drush st drush cr ``` -### check settings files +## check settings files create file services.yml in src/web/sites/default (can copy from previous site)