From 8366376bd01163d3110b21066372d281ccc854a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 8 Jun 2018 17:19:12 -0400 Subject: [PATCH] Run provision command faster By not setting the USERID environment variable, we don't have to chown the /openedx folder, which makes the "provision" command much faster. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index efc826f..9681ca2 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ update: docker-compose pull provision: - $(DOCKER_COMPOSE_RUN_OPENEDX) lms bash /openedx/config/provision.sh + $(DOCKER_COMPOSE_RUN) lms bash /openedx/config/provision.sh migrate-openedx: $(DOCKER_COMPOSE_RUN_OPENEDX) lms bash -c "wait-for-greenlight.sh && ./manage.py lms migrate"