mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-18 11:05:17 +00:00
23 lines
778 B
Makefile
23 lines
778 B
Makefile
|
.PHONY: env
|
||
|
PWD = $$(pwd)
|
||
|
|
||
|
configure:
|
||
|
@$(MAKE) -s -C .. configure
|
||
|
|
||
|
env: configure ## Create the platform environment
|
||
|
@docker run --rm -it \
|
||
|
--volume="$(PWD)/../:/openedx/config/" \
|
||
|
--volume="$(PWD)/templates/apps:/openedx/templates" \
|
||
|
--volume="$(PWD)/env:/openedx/output" \
|
||
|
-e USERID=$(USERID) -e SILENT=$(SILENT) $(CONFIGURE_OPTS) \
|
||
|
regis/openedx-configurator:hawthorn \
|
||
|
configurator substitute /openedx/templates/ /openedx/output/
|
||
|
@docker run --rm -it \
|
||
|
--volume="$(PWD)/../:/openedx/config/" \
|
||
|
--volume="$(PWD)/templates/project:/openedx/templates" \
|
||
|
--volume="$(PWD):/openedx/output" \
|
||
|
-e USERID=$(USERID) -e SILENT=$(SILENT) $(CONFIGURE_OPTS) \
|
||
|
regis/openedx-configurator:hawthorn \
|
||
|
configurator substitute /openedx/templates/ /openedx/output/
|
||
|
|