diff --git a/Makefile b/Makefile index f64dd6e..c53921c 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,9 @@ stop: setup: start install-plugins fix-perms fix-perms: + docker exec intotheeast_grav bash -c "getent passwd 1000 > /dev/null || useradd -u 1000 -M hostuser" docker exec intotheeast_grav chown -R 1000:1000 /var/www/html + docker exec intotheeast_grav apachectl graceful install-plugins: docker exec -w /var/www/html intotheeast_grav php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y