pyrous forum
Go to file
2025-07-02 13:34:45 +03:00
app fix thread.js not passing 'since' correctly to post updates api 2025-07-02 13:34:45 +03:00
config add env differentiation 2025-06-29 18:50:41 +03:00
data/static fix thread.js not passing 'since' correctly to post updates api 2025-07-02 13:34:45 +03:00
sass creating threads 2025-07-01 14:14:29 +03:00
.dockerignore create default avatar, admin, and deleted user on first run 2025-06-29 19:34:02 +03:00
.env add env differentiation 2025-06-29 18:50:41 +03:00
.gitignore create default avatar, admin, and deleted user on first run 2025-06-29 19:34:02 +03:00
docker-compose.yml add env differentiation 2025-06-29 18:50:41 +03:00
Dockerfile fix wrong package in Dockerfile 2025-06-29 18:50:56 +03:00
LICENSE.md license under CNPLv7+ 2025-06-29 20:31:06 +03:00
nginx.conf use correct absolute path for static files in ngx config 2025-06-29 18:51:24 +03:00
README.md add readme & thirdparty and freeze pip deps 2025-07-02 12:37:55 +03:00
requirements.txt add readme & thirdparty and freeze pip deps 2025-07-02 12:37:55 +03:00
THIRDPARTY.md add readme & thirdparty and freeze pip deps 2025-07-02 12:37:55 +03:00
uwsgi.ini add docker stuff 2025-06-29 18:17:15 +03:00

Pyrom

python/flask port of porom

this is now the canonical implementation of porom

License

Released under CNPLv7+. Please read the full terms for proper wording.

installing & first time setup

docker (production)

create config/secrets.prod.env according to config/secrets.prod.env.example

$ docker compose up
  • opens port 8080
  • exposes data/db and data/static for data backup and persistence

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.

manual (development)

  1. install python >= 3.13, sqlite3, libargon2, and imagemagick & clone repo
  2. create a venv:
$ python -m venv .venv
$ source .venv/bin/activate
  1. install requirements:
$ pip install -r requirements.txt
  1. run dev server:
$ python -m app.run

the server will run on localhost:8080. when run for the first time, it will create an admin account and print its credentials to the terminal, so make sure to run this in an interactive session.

press Ctrl+C to stop the server.

to deactivate the venv:

$ deactivate

when you want to run the server again, make sure to activate the venv first:

$ python -m venv .venv
$ source .venv/bin/activate
$ python -m app.run

icons

the icons in the data/static/misc/ folder are by Gabriele Malaspina