From b6aedbe8aa681a596c98ea3b984971f49e142494 Mon Sep 17 00:00:00 2001 From: official-techsupport <98240022+official-techsupport@users.noreply.github.com> Date: Thu, 30 Jun 2022 23:21:58 +0300 Subject: [PATCH] add how to fix common problems for returning contributors (#309) --- readme.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 17d2e2b9b..4afea9e95 100644 --- a/readme.md +++ b/readme.md @@ -21,4 +21,12 @@ docker-compose up 3- That's it! Visit `localhost` in your browser. -4- Optional: to change the domain from "localhost" to something else and configure the site settings, as well as integrate it with the external services the website uses, please edit the variables in the `env` file and then restart the docker container. \ No newline at end of file +4- Optional: to change the domain from "localhost" to something else and configure the site settings, as well as integrate it with the external services the website uses, please edit the variables in the `env` file and then restart the docker container. + +------ + +For returning contributors, we have noticed the following issues (if you can help fix them, we will be very grateful!): + +1. Docker doesn't know when we add a new Python dependency, `docker-compose build` is needed. +2. DB schema changes are not applied automatically, the easiest way to deal with that is to delete the entire environment from the Docker GUI and do `docker-compose up`. Also wait five minutes for a "sneed" commit from Aevann meaning that the sql file was regenerated. +3. Old authorization cookies from the previous instance cause a weird 404 error, clear cookies for localhost to fix.