From 2ad8221e9afca3ebdfe613d375f4d1dbbf72705f Mon Sep 17 00:00:00 2001 From: eneller Date: Thu, 3 Jul 2025 14:07:06 +0200 Subject: [PATCH] doc: readme --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fcba91c..2dd3f69 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,6 @@ python manage.py runserver ``` ## Deployment -Follow the Development instructions, except replace the final command for the development server with -```bash -gunicorn -c gunicorn.py -``` [Gunicorn](https://gunicorn.org/) does not serve static files and is intended to be deployed behind [nginx](https://nginx.org/). An example configuration is provided in `nginx.conf`. @@ -33,3 +29,14 @@ To collect the static files for nginx, run python manage.py collectstatic ``` and point nginx to the resulting folder. + +### Docker +Run the `docker-compose.yml` in the project root using +```bash +docker compose up +``` +### Manual +Follow the Development instructions, except replace the final command for the development server with +```bash +gunicorn -c gunicorn.py +``` \ No newline at end of file