6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 20:29:02 +00:00

Better naming for shell commands

This commit is contained in:
Régis Behmo 2018-09-29 17:40:58 +02:00
parent 050dfc9b23
commit 6307a1888e
2 changed files with 9 additions and 6 deletions

View File

@ -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)

View File

@ -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