From 5ed7e7136fcde04aa240fcc9ffefa15dcc5cffd8 Mon Sep 17 00:00:00 2001 From: lpoujol Date: Fri, 11 Jan 2019 15:25:17 +0100 Subject: [PATCH] =?UTF-8?q?Compl=C3=A9ments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoDrupal.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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