Skip to content

Commit

Permalink
Patch for installing Drupal Commerce project
Browse files Browse the repository at this point in the history
  • Loading branch information
Viisut committed Oct 26, 2017
1 parent 6961c02 commit 05386d9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/install_drupal_commerce_project.patch
@@ -0,0 +1,14 @@
diff --git bin/install-project.sh bin/install-project.sh
index 0a722b5..f3e1955 100755
--- bin/install-project.sh
+++ bin/install-project.sh
@@ -84,7 +84,7 @@ elif [ -z "$(php_container_running ${PHP_CONTAINER})" ]; then
fi

docker exec -it "${PHP_CONTAINER}" bash -c "rm -rf /usr/local/apache2/htdocs/web"
-docker exec -it "${PHP_CONTAINER}" bash -c "composer create-project drupal-composer/drupal-project:8.x-dev /usr/local/apache2/htdocs --stability dev --no-interaction"
-docker exec -it "${PHP_CONTAINER}" bash -c "cd /usr/local/apache2/htdocs/web && echo y | ../vendor/drush/drush/drush site-install standard --db-url=mysql://root:root@db/drupal --account-mail=admin@example.com --account-name=admin --account-pass=admin --site-mail=admin@example.com --site-name=Drupalstack"
+docker exec -it "${PHP_CONTAINER}" bash -c "composer create-project drupalcommerce/project-base /usr/local/apache2/htdocs --stability dev --no-interaction"
+docker exec -it "${PHP_CONTAINER}" bash -c "cd /usr/local/apache2/htdocs/web && echo y | ../vendor/drush/drush/drush site-install commerce_base --db-url=mysql://root:root@db/drupal --account-mail=admin@example.com --account-name=admin --account-pass=admin --site-mail=admin@example.com --site-name=Drupalstack"

cd "${WORKING_DIR}"

0 comments on commit 05386d9

Please sign in to comment.