make it work in docker again and fix some ngx config issues

This commit is contained in:
2025-07-02 20:47:10 +03:00
parent c41e0cfc0c
commit 13c89cbde2
4 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Pyrom
python/flask port of [porom](https://git.poto.cafe/yagich/porom)
this is now the canonical implementation of porom
this is now the canonical implementation of porom. it's compatible with the database of porom.
# License
Released under [CNPLv7+](https://thufie.lain.haus/NPL.html).
@ -20,8 +20,10 @@ $ docker compose up
make sure to run it in an interactive session the first time, because it will spit out the password to the auto-created admin account.
alternatively, if you already had porom running before, put the db file (`db.prod.sqlite`) in `data/db` and it will Just Work.
## manual (development)
1. install python >= 3.13, sqlite3, libargon2, and imagemagick & clone repo
1. install python >= 3.11, sqlite3, libargon2, and imagemagick & clone repo
2. create a venv:
```bash