mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +00:00
Rename "import-demo-course" make command
This commit is contained in:
parent
f38f153c56
commit
dcd868d30f
@ -84,7 +84,7 @@ pod-exec: ## Execute a command inside an arbitrary pod: make pod-exec APP=appnam
|
||||
$(call podexec,$(APP),$(COMMAND))
|
||||
|
||||
# TODO replace these tasks with Job objects
|
||||
import-demo-course: ## Import the demo course from edX
|
||||
demo-course: ## Import the demo course from edX
|
||||
$(call podexec,cms,/bin/bash -c "\
|
||||
git clone https://github.com/edx/edx-demo-course --branch open-release/hawthorn.2 --depth 1 ../edx-demo-course \
|
||||
&& python ./manage.py cms import ../data ../edx-demo-course")
|
||||
|
@ -160,7 +160,7 @@ stats: ## Collect anonymous information about the platform
|
||||
regis/openedx-configurator:hawthorn /openedx/scripts/stats 2> /dev/null || true ; \
|
||||
fi
|
||||
|
||||
import-demo-course: ## Import the demo course from edX
|
||||
demo-course: ## Import the demo course from edX
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) cms /bin/bash -c " \
|
||||
git clone https://github.com/edx/edx-demo-course --branch open-release/hawthorn.2 --depth 1 ../edx-demo-course \
|
||||
&& python ./manage.py cms import ../data ../edx-demo-course"
|
||||
|
@ -85,7 +85,7 @@ Importing the demo course
|
||||
|
||||
On a fresh install, your platform will not have a single course. To import the `Open edX demo course <https://github.com/edx/edx-demo-course>`_, run::
|
||||
|
||||
make import-demo-course
|
||||
make demo-course
|
||||
|
||||
Updating the course search index
|
||||
--------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user