Skip to content

Commit 26591fc

Browse files
authored
Update docs and docker compose setup (#406)
* Remove not maintained CHANGELOG.md * Update docker compose syntax * Remove obsolete version from docker-compose.yml
1 parent f1d2029 commit 26591fc

File tree

4 files changed

+5
-21
lines changed

4 files changed

+5
-21
lines changed

.docker/web/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

CHANGELOG.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3.9"
2-
31
services:
42
db:
53
image: "postgres:17"

docs/source/extending.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ Django applications would be useful.
88
Running 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
1212
with 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

1717
Then run these two commands::
1818

1919
cp .env.dist .env
20-
docker-compose up
20+
docker compose up
2121

2222
The default values in .env.dist are sufficient however feel free to adjust
2323
them to your needs.
2424

2525
You 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

0 commit comments

Comments
 (0)