Skip to content

Commit

Permalink
Adjustments for sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
DonRichards committed Oct 18, 2023
1 parent ab7530b commit 9c2e740
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,10 @@ jhu_up: jhu_generate-secrets
$(MAKE) set-codebase-owner
docker-compose up -d --remove-orphans
# The rest of this should be moved into another function.
docker-compose exec -T drupal with-contenv bash -lc 'rm -rf vendor/ web/modules/contrib/* web/themes/contrib/*'
-docker-compose exec -T drupal with-contenv bash -lc 'rm -rf vendor/ web/modules/contrib/* web/themes/contrib/*'
docker compose exec -T drupal with-contenv bash -lc 'chown -R nginx:nginx /var/www/drupal/ && su nginx -s /bin/bash -c "composer install"'
docker-compose exec -T drupal with-contenv bash -lc 'git config --global --add safe.directory /var/www/drupal/web/modules/contrib/islandora_fits'
-docker-compose exec -T drupal with-contenv bash -lc 'git config --global --add safe.directory /var/www/drupal/web/modules/contrib/islandora_fits'
$(MAKE) set-codebase-owner
docker-compose exec -T drupal with-contenv bash -lc 'chown -R nginx:nginx .'
$(MAKE) drupal-database update-settings-php
docker-compose exec -T drupal with-contenv bash -lc "drush si -y --existing-config minimal --account-pass $(shell cat secrets/live/DRUPAL_DEFAULT_ACCOUNT_PASSWORD)"
docker-compose exec -T drupal with-contenv bash -lc "drush -l $(SITE) user:role:add fedoraadmin admin"
Expand Down

0 comments on commit 9c2e740

Please sign in to comment.