Skip to content

Commit

Permalink
Merge pull request #1743 from weather-gov/eg-eric-docker-fixes-1
Browse files Browse the repository at this point in the history
[Docker Setup] Fix permissions after each zap
  • Loading branch information
eric-gade committed Sep 12, 2024
2 parents c2a244f + 8572729 commit 31b49a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ update-translations:
docker compose exec drupal drush locale:update
docker compose exec drupal drush cache:rebuild

zap: update-settings zap-containers rebuild pause install-site load-spatial ## Delete the entire Docker environment and start from scratch.
zap: update-settings zap-containers rebuild pause install-site load-spatial fix-permissions ## Delete the entire Docker environment and start from scratch.
zap-containers:
docker compose stop
docker compose rm -f
Expand Down Expand Up @@ -185,3 +185,8 @@ check-translations: ## Check the consistency of translations
ci: composer-install
composer-install: ## Installs dependencies from lock file
docker compose exec drupal composer install

### Fix file permissions
fix-permissions: ## Updates owner in docker and mod in local
docker compose exec drupal chown -R www-data:www-data web/sites web/modules web/themes
chmod -R ug+rwx web/sites web/modules web/themes

0 comments on commit 31b49a5

Please sign in to comment.