diff --git a/HowtoDrupal.md b/HowtoDrupal.md index b28025ce..a9870339 100644 --- a/HowtoDrupal.md +++ b/HowtoDrupal.md @@ -24,6 +24,8 @@ La configuration Apache doit donc contenir au minimum : AllowOverride AuthConfig Limit FileInfo Indexes Options=Indexes,MultiViews,ExecCGI,Includes ~~~ +Le `DocumentRoot` d'Apache doit correspondre au dossier `web` qui se trouve à la racine du dossier du projet + ### PHP @@ -51,6 +53,16 @@ Ainsi, une installation par défaut va se faire avec la commande suivante va cr $ composer create-project drupal-composer/drupal-project:8.x-dev foo_project --stability dev --no-interaction ~~~ +On peut en suite, aller directement à l'addresse du site pour obtenir l'interface d'installation du site. + + +### Cron + +~~~ +$ crontab -l + +42 * * * * php /home/foo/www/vendor/bin/drush cron --root /home/foo/www/ 2&>1 >/dev/null +~~~ ## Optimisation