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

Rename "import-demo-course" make command

This commit is contained in:
Régis Behmo 2019-01-07 08:13:47 +01:00
parent f38f153c56
commit dcd868d30f
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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