From 58fac81dd90b1c19221411ace9c7b74484a61b60 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Fri, 24 Mar 2023 20:12:27 +0400 Subject: [PATCH] Bugfix in .env (DB_HOST, caused by renaming in compose.yml, see prev commits), explanation about keys and passwords --- .env | 21 +++++++++++++-------- .env_db | 2 +- .env_debug | 3 ++- README.md | 4 +++- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.env b/.env index a6c7090..57cc712 100644 --- a/.env +++ b/.env @@ -1,17 +1,22 @@ APP_HOST=0.0.0.0 APP_PORT=8000 -# Generate a strong secret key +# Generate 2 strong secret keys # -# On Linux: tr -dc A-Za-z0-9_- Database](#database)) 7. Check if `Makefile`, `Dockerfile`, `docker-compose.yml` are correct 8. Run the formatter and linters (`make format`, then `make check`) -9. Edit the `version_code` file if needed, +9. Open `.env` and `.env_db`, generate secret keys and the database password +as explained in the comment above `SESSION_KEY=` +10. Edit the `version_code` file if needed, build a docker image and [publish](#publishing-app) it ### Makefile