Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch for installing Drupal Commerce project
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" |