apache configured to serve website

This commit is contained in:
boyska 2016-03-12 13:09:17 -05:00
parent ea67401d95
commit 1e4d65074e

View file

@ -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