From dcd868d30f5e4ddf2ea6c6278068eecf7a34ffe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 7 Jan 2019 08:13:47 +0100 Subject: [PATCH] Rename "import-demo-course" make command --- deploy/k8s/Makefile | 2 +- deploy/local/Makefile | 2 +- docs/local.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/k8s/Makefile b/deploy/k8s/Makefile index 0f1d572..169dd8a 100644 --- a/deploy/k8s/Makefile +++ b/deploy/k8s/Makefile @@ -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") diff --git a/deploy/local/Makefile b/deploy/local/Makefile index b32c683..55cd2ab 100644 --- a/deploy/local/Makefile +++ b/deploy/local/Makefile @@ -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" diff --git a/docs/local.rst b/docs/local.rst index 4f770d9..b07482b 100644 --- a/docs/local.rst +++ b/docs/local.rst @@ -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 `_, run:: - make import-demo-course + make demo-course Updating the course search index --------------------------------