apache configured to serve website
This commit is contained in:
parent
ea67401d95
commit
1e4d65074e
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ else
|
|||
fi
|
||||
|
||||
|
||||
drupal_path=/var/www/d8/
|
||||
conf="$(dirname $0)/../config.sh"
|
||||
[[ -f "$conf" ]] && . "$conf"
|
||||
|
||||
|
@ -75,6 +76,8 @@ EOF
|
|||
inm $intermediate /usr/sbin/a2enmod rewrite
|
||||
inm $intermediate /usr/sbin/a2enmod php5
|
||||
inm $intermediate /bin/mkdir -p /mig
|
||||
inm $intermediate /bin/sed -i "s+DocumentRoot.*$+DocumentRoot ${drupal_path}+" /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
progress "Installation of Drush"
|
||||
inm $intermediate /usr/bin/composer global require drush/drush:8.0.3
|
||||
if ! inm $intermediate /usr/bin/test -x /root/.composer/vendor/bin/drush; then
|
||||
|
|
Loading…
Reference in a new issue