mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-15 15:20:44 +00:00
c903ab2b12
The project gets a new name and some proper documentation. Build/Deploy are now properly separated.
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/
|
|
|