6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 06:07:56 +00:00

Make sure default settings are respected

Closes #20
This commit is contained in:
Régis Behmo 2018-04-24 08:18:58 +02:00
parent 93a8fa0cba
commit 419aa27501

View File

@ -1,7 +1,7 @@
.PHONY: all configure build migrate assets up daemon
DOCKER_COMPOSE_RUN = docker-compose run --rm -e USERID="$$(id -u)"
EDX_PLATFORM_SETTINGS = production
EDX_PLATFORM_SETTINGS ?= production
DOCKER_COMPOSE_RUN += -e SETTINGS=$(EDX_PLATFORM_SETTINGS)
ifneq ($(EDX_PLATFORM_PATH),)
DOCKER_COMPOSE_RUN += --volume="$(EDX_PLATFORM_PATH):/openedx/edx-platform"