add how to fix common problems for returning contributors (#309)

remotes/1693045480750635534/spooky-22
official-techsupport 2022-06-30 23:21:58 +03:00 committed by GitHub
parent 4d217605de
commit b6aedbe8aa
1 changed files with 9 additions and 1 deletions

View File

@ -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.
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.