mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 16:04:02 +00:00
Better naming for shell commands
This commit is contained in:
parent
050dfc9b23
commit
6307a1888e
6
Makefile
6
Makefile
@ -172,10 +172,12 @@ lms: ## Open a bash shell in the LMS
|
|||||||
cms: ## Open a bash shell in the CMS
|
cms: ## Open a bash shell in the CMS
|
||||||
$(DOCKER_COMPOSE_RUN_CMS) bash
|
$(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
|
$(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
|
$(DOCKER_COMPOSE_RUN_OPENEDX) cms ./manage.py cms shell
|
||||||
|
cms-shell: cms-python
|
||||||
|
|
||||||
##################### SSL/TLS (HTTPS certificates)
|
##################### SSL/TLS (HTTPS certificates)
|
||||||
|
|
||||||
|
@ -187,14 +187,15 @@ The last commands produce the logs since the creation of the containers, which c
|
|||||||
|
|
||||||
### Debugging
|
### 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:
|
Open a python shell in the lms or the cms:
|
||||||
|
|
||||||
make lms-shell
|
make lms-python
|
||||||
make cms-shell
|
make cms-python
|
||||||
|
|
||||||
## For developers
|
## For developers
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user