oliverdavies.uk-drupal-old/scripts/development/install.sh
2020-04-10 10:57:30 +01:00

16 lines
333 B
Bash
Executable file

#!/usr/bin/env bash
set -e
. $(dirname "$0")/common.sh
run_command "Install Composer dependencies" "symfony composer install"
pushd $theme_path
run_command "Install theme dependencies" "symfony run npm install"
popd
pushd web
run_command "Install Drupal" "symfony php ../vendor/bin/drush site-install -y --existing-config"
popd