Skip to content

Commit 370f484

Browse files
authored
Add "make bash" to exec a bash shell in running container (EuroPython#1406)
Think it's handy to quick access the running container, isn't it?
1 parent 61d841a commit 370f484

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ help:
1313
@echo "update-requirements - run pip compile and rebuild the requirements files"
1414
@echo "migrations - generate migrations in a clean container"
1515
@echo "shell - start a django shell"
16+
@echo "bash - start a bash shell in a running container"
1617
@echo "urls - print url routes"
1718

1819
@echo "\n[TEST]"
@@ -80,6 +81,9 @@ migrations: build
8081
shell:
8182
docker-compose run --rm epcon "./manage.py shell_plus"
8283

84+
bash:
85+
docker-compose exec epcon /bin/bash
86+
8387
urls:
8488
docker-compose run --rm epcon "./manage.py show_urls"
8589

0 commit comments

Comments
 (0)