|
6 | 6 | # and SERVICES is a plus-sign-separated list of services.
|
7 | 7 | # Examples:
|
8 | 8 | # make dev.attach.credentials
|
9 |
| -# make dev.pull.registrar+studio |
| 9 | +# make dev.pull.registrar+cms |
10 | 10 | # make dev.up.lms
|
11 | 11 | # make dev.up.without-deps.lms+forum+discovery+mysql57+elasticsearch+memcached
|
12 | 12 | # make dev.restart-container.mysql57+lms
|
|
45 | 45 | create-test-course dev.attach dev.backup dev.cache-programs dev.check \
|
46 | 46 | dev.check-memory dev.checkout dev.clone dev.clone.https dev.clone.ssh \
|
47 | 47 | dev.dbshell dev.destroy dev.down dev.drop-db dev.kill dev.logs \
|
48 |
| - dev.migrate dev.migrate.lms dev.migrate.studio \ |
| 48 | + dev.migrate dev.migrate.lms dev.migrate.cms \ |
49 | 49 | devpi-password dev.provision dev.ps dev.pull dev.pull.without-deps \
|
50 | 50 | dev.reset dev.reset-repos dev.restart-container dev.restart-devserver \
|
51 | 51 | dev.restart-devserver.forum dev.restore dev.rm-stopped dev.shell \
|
52 | 52 | dev.shell.credentials dev.shell.discovery \
|
53 | 53 | dev.shell.ecommerce dev.shell.lms dev.shell.lms_watcher \
|
54 |
| - dev.shell.registrar dev.shell.studio \ |
55 |
| - dev.shell.studio_watcher dev.shell.xqueue dev.shell.xqueue_consumer \ |
56 |
| - dev.static dev.static.lms dev.static.studio dev.stats dev.status \ |
| 54 | + dev.shell.registrar dev.shell.cms \ |
| 55 | + dev.shell.cms_watcher dev.shell.xqueue dev.shell.xqueue_consumer \ |
| 56 | + dev.static dev.static.lms dev.static.cms dev.stats dev.status \ |
57 | 57 | dev.stop dev.up dev.up.attach dev.up.shell \
|
58 | 58 | dev.up.without-deps dev.up.without-deps.shell dev.up.with-programs \
|
59 | 59 | dev.up.with-watchers dev.validate docs \
|
@@ -254,9 +254,9 @@ $(foreach db_service,$(DB_SERVICES_LIST),\
|
254 | 254 |
|
255 | 255 | dev.migrate: | $(_db_migration_targets) ## Run migrations for applicable default services.
|
256 | 256 |
|
257 |
| -dev.migrate.studio: |
258 |
| - docker-compose exec -T -u root studio bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms showmigrations --database default --traceback --pythonpath=. --settings devstack_docker' |
259 |
| - docker-compose exec -T -u root studio bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms migrate --database default --noinput --traceback --pythonpath=. --settings devstack_docker' |
| 257 | +dev.migrate.cms: |
| 258 | + docker-compose exec -T -u root cms bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms showmigrations --database default --traceback --pythonpath=. --settings devstack_docker' |
| 259 | + docker-compose exec -T -u root cms bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms migrate --database default --noinput --traceback --pythonpath=. --settings devstack_docker' |
260 | 260 |
|
261 | 261 | dev.migrate.lms:
|
262 | 262 | docker-compose exec -T -u root lms bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py lms showmigrations --database default --traceback --pythonpath=. --settings devstack_docker'
|
@@ -293,11 +293,11 @@ dev.up.with-programs: dev.up dev.cache-programs ## Bring up default services + c
|
293 | 293 |
|
294 | 294 | dev.up.with-programs.%: dev.up.$* dev.cache-programs ## Bring up services and their dependencies + cache programs in LMS.
|
295 | 295 |
|
296 |
| -dev.up.with-watchers: dev.up.$(DEFAULT_SERVICES)+lms_watcher+studio_watcher ## Bring up default services + asset watcher containers. |
| 296 | +dev.up.with-watchers: dev.up.$(DEFAULT_SERVICES)+lms_watcher+cms_watcher ## Bring up default services + asset watcher containers. |
297 | 297 |
|
298 | 298 | dev.up.with-watchers.%: ## Bring up services and their dependencies + asset watcher containers.
|
299 | 299 | make dev.up.$*
|
300 |
| - make dev.up.lms_watcher+studio_watcher |
| 300 | + make dev.up.lms_watcher+cms_watcher |
301 | 301 |
|
302 | 302 | dev.up.without-deps: _expects-service-list.dev.up.without-deps
|
303 | 303 |
|
@@ -442,11 +442,11 @@ dev.shell.lms:
|
442 | 442 | dev.shell.lms_watcher:
|
443 | 443 | docker-compose exec lms_watcher env TERM=$(TERM) bash -c '/bin/bash'
|
444 | 444 |
|
445 |
| -dev.shell.studio: |
446 |
| - docker-compose exec studio env TERM=$(TERM) bash -c '/bin/bash' |
| 445 | +dev.shell.cms: |
| 446 | + docker-compose exec cms env TERM=$(TERM) bash -c '/bin/bash' |
447 | 447 |
|
448 |
| -dev.shell.studio_watcher: |
449 |
| - docker-compose exec studio_watcher env TERM=$(TERM) bash -c '/bin/bash' |
| 448 | +dev.shell.cms_watcher: |
| 449 | + docker-compose exec cms_watcher env TERM=$(TERM) bash -c '/bin/bash' |
450 | 450 |
|
451 | 451 | dev.shell.xqueue_consumer:
|
452 | 452 | docker-compose exec xqueue_consumer env TERM=$(TERM) /bin/bash
|
@@ -479,8 +479,8 @@ dev.static: | $(_asset_compilation_targets)
|
479 | 479 | dev.static.lms:
|
480 | 480 | docker-compose exec -T lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && paver update_assets lms'
|
481 | 481 |
|
482 |
| -dev.static.studio: |
483 |
| - docker-compose exec -T studio bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && paver update_assets studio' |
| 482 | +dev.static.cms: |
| 483 | + docker-compose exec -T cms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && paver update_assets cms' |
484 | 484 |
|
485 | 485 | dev.static.%: ## Rebuild static assets for the specified service's container.
|
486 | 486 | docker-compose exec -T $* bash -c 'source /edx/app/$*/$*_env && cd /edx/app/$*/$*/ && make static'
|
@@ -574,7 +574,7 @@ _expects-service-list.%:
|
574 | 574 | @echo "For example:"
|
575 | 575 | @echo " make $*.lms"
|
576 | 576 | @echo "Or:"
|
577 |
| - @echo " make $*.registrar+ecommerce+studio" |
| 577 | + @echo " make $*.registrar+ecommerce+cms" |
578 | 578 |
|
579 | 579 | _expects-database.%:
|
580 | 580 | @echo "'make $*' on its own has no effect."
|
@@ -617,11 +617,11 @@ devpi-password: ## Get the root devpi password for the devpi container.
|
617 | 617 | hadoop-application-logs-%: ## View hadoop logs by application Id.
|
618 | 618 | docker-compose exec nodemanager yarn logs -applicationId $*
|
619 | 619 |
|
620 |
| -create-test-course: ## Provisions studio, and ecommerce with course(s) in test-course.json. |
621 |
| - $(WINPTY) bash ./course-generator/create-courses.sh --studio --ecommerce course-generator/test-course.json |
| 620 | +create-test-course: ## Provisions cms, and ecommerce with course(s) in test-course.json. |
| 621 | + $(WINPTY) bash ./course-generator/create-courses.sh --cms --ecommerce course-generator/test-course.json |
622 | 622 |
|
623 |
| -build-courses: ## Build course and provision studio, and ecommerce with it. |
| 623 | +build-courses: ## Build course and provision cms, and ecommerce with it. |
624 | 624 | # Modify test-course.json before running this make target to generate a custom course
|
625 | 625 | $(WINPTY) bash ./course-generator/build-course-json.sh course-generator/tmp-config.json
|
626 |
| - $(WINPTY) bash ./course-generator/create-courses.sh --studio --ecommerce course-generator/tmp-config.json |
| 626 | + $(WINPTY) bash ./course-generator/create-courses.sh --cms --ecommerce course-generator/tmp-config.json |
627 | 627 | rm course-generator/tmp-config.json
|
0 commit comments