diff --git a/Makefile b/Makefile index 7b90a31..13c8c8f 100644 --- a/Makefile +++ b/Makefile @@ -172,10 +172,12 @@ lms: ## Open a bash shell in the LMS cms: ## Open a bash shell in the CMS $(DOCKER_COMPOSE_RUN_CMS) bash -lms-shell: ## Open a python shell in the LMS +lms-python: ## Open a python shell in the LMS $(DOCKER_COMPOSE_RUN_OPENEDX) lms ./manage.py lms shell -cms-shell: ## Open a python shell in the CMS +lms-shell: lms-python +cms-python: ## Open a python shell in the CMS $(DOCKER_COMPOSE_RUN_OPENEDX) cms ./manage.py cms shell +cms-shell: cms-python ##################### SSL/TLS (HTTPS certificates) diff --git a/README.md b/README.md index 0158e65..a1dab40 100644 --- a/README.md +++ b/README.md @@ -187,14 +187,15 @@ The last commands produce the logs since the creation of the containers, which c ### Debugging -Open a bash in the lms: +Open a bash shell in the lms or the cms: - docker-compose run lms bash + make lms + make cms Open a python shell in the lms or the cms: - make lms-shell - make cms-shell + make lms-python + make cms-python ## For developers