7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-29 04:10:49 +00:00

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.
This commit is contained in:
Régis Behmo 2018-06-08 17:19:12 -04:00
parent af49fef7db
commit 8366376bd0

View File

@ -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"