drupal-init-tools.git
6 years agonew.sh: fix .htaccess to allow access to "/web" without the trailing slash
Antonio Ospite [Tue, 21 Nov 2017 10:00:08 +0000 (11:00 +0100)]
new.sh: fix .htaccess to allow access to "/web" without the trailing slash

6 years agonew.sh: add a basic .htaccess file to protect sensible files
Antonio Ospite [Thu, 16 Nov 2017 12:08:34 +0000 (13:08 +0100)]
new.sh: add a basic .htaccess file to protect sensible files

7 years agobootstrap.sh: allow explicit overwriting the current installation profile
Antonio Ospite [Thu, 26 Oct 2017 13:50:21 +0000 (15:50 +0200)]
bootstrap.sh: allow explicit overwriting the current installation profile

Also, if the user attempts to install a profile which is already there,
now the scripts exits instead of just printing a message and carrying
on.

The previous lazy behavior could result in some confusion if the user
didn't see the message, because any different settings in the specified
profile would not be picked up, as the previous profile already in
web/profiles/ would be used.

7 years agobootstrap.sh: fix the check on settings.local.php
Antonio Ospite [Wed, 25 Oct 2017 17:51:04 +0000 (19:51 +0200)]
bootstrap.sh: fix the check on settings.local.php

7 years agobootstrap.sh: copy settings.local.php only when it's not already there
Antonio Ospite [Wed, 25 Oct 2017 16:28:23 +0000 (18:28 +0200)]
bootstrap.sh: copy settings.local.php only when it's not already there

This is to preserve local changes in case of a re-bootstrap.

7 years agobootstrap.sh: fix permission handling of sites/default/settings.php
Antonio Ospite [Wed, 25 Oct 2017 16:26:30 +0000 (18:26 +0200)]
bootstrap.sh: fix permission handling of sites/default/settings.php

drush site-install can change the permissions in sites/default so use
a more robust scheme to set them when needed.

7 years agobootstrap.sh: update the installation profile setting before installing
Antonio Ospite [Tue, 24 Oct 2017 11:15:41 +0000 (13:15 +0200)]
bootstrap.sh: update the installation profile setting before installing

This fixes
a Drupal\Core\Installer\Exception\InstallProfileMismatchException

7 years agobootstrap.sh: disable some overly permissive settings in settings.local.php
Antonio Ospite [Tue, 24 Oct 2017 10:55:20 +0000 (12:55 +0200)]
bootstrap.sh: disable some overly permissive settings in settings.local.php

This avoids warnings in the status report after "drin bootstrap --devel"

7 years agobootstrap.sh: allow re-bootstrapping with a different installation profile
Antonio Ospite [Tue, 24 Oct 2017 10:53:18 +0000 (12:53 +0200)]
bootstrap.sh: allow re-bootstrapping with a different installation profile

7 years agobootstrap.sh: remove an obsolete comment
Antonio Ospite [Thu, 22 Jun 2017 15:12:35 +0000 (17:12 +0200)]
bootstrap.sh: remove an obsolete comment

7 years agoInitial import
Antonio Ospite [Mon, 5 Jun 2017 13:13:28 +0000 (15:13 +0200)]
Initial import