File tree Expand file tree Collapse file tree 4 files changed +5
-21
lines changed
Expand file tree Collapse file tree 4 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ echo -e "
2525********************************************************************************
2626
2727\e[32m[TIPS]\e[39m
28- - Run 'docker- compose exec web /bin/bash' to access web service
28+ - Run 'docker compose exec web /bin/bash' to access web service
2929- Run 'python3 -m pipenv run python -m serveradmin -h' in web service to access django commands
3030- Run 'python3 -m pipenv run python -m adminapi example.com' in web service to make adminapi queries
3131
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- version : " 3.9"
2-
31services :
42 db :
53 image : " postgres:17"
Original file line number Diff line number Diff line change @@ -8,23 +8,23 @@ Django applications would be useful.
88Running Serveradmin
99-------------------
1010
11- We provide a docker- compose setup that gives you a local development instance
11+ We provide a docker compose setup that gives you a local development instance
1212with 2 commands.
1313
14- First make sure you have docker- compose installed as described
14+ First make sure you have docker compose plugin installed as described
1515`here <https://docs.docker.com/compose/install/ >`_.
1616
1717Then run these two commands::
1818
1919 cp .env.dist .env
20- docker- compose up
20+ docker compose up
2121
2222The default values in .env.dist are sufficient however feel free to adjust
2323them to your needs.
2424
2525You can access the web service to execute Django commands and run scripts::
2626
27- docker- compose exec web
27+ docker compose exec web
2828
2929 # Example: Run Django management commands
3030 pipenv run python -m serveradmin -h
You can’t perform that action at this time.
0 commit comments