Commit 094b31a2 by Clinton Blackburn

Added a make target to shutdown devstack

parent ed9999ea
......@@ -3,7 +3,7 @@ NODE_BIN=./node_modules/.bin
.PHONY: accept clean compile_translations dummy_translations extract_translations fake_translations help html_coverage \
migrate pull_translations push_translations quality requirements production-requirements test \
update_translations validate
update_translations validate stop-devstack
help:
@echo "Please use \`make <target>' where <target> is one of"
......@@ -27,6 +27,7 @@ help:
@echo " static gather all static assets for production"
@echo " clean_static remove all generated static files"
@echo " start-devstack run a local development copy of the server"
@echo " stop-devstack shutdown the local development server"
@echo " open-devstack open a shell on the server started by start-devstack"
@echo " detect_changed_source_translations check if translation files are up-to-date"
@echo " validate_translations install fake translations and check if translation files are up-to-date"
......@@ -94,6 +95,9 @@ push_translations:
start-devstack:
docker-compose up
stop-devstack:
docker-compose down
open-devstack:
docker-compose up -d
docker exec -it course-discovery env TERM=$(TERM) /edx/app/discovery/devstack.sh open
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment