Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.23 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.23 KB

pste

GitHub GitHub Workflow Status Code style: ruff

Just a simple file hosting application inspired by the likes of pomf.se and teknik.io.

Very early alpha, 100% definitely not ready whatsoever for production use. Not even for a laugh.

Demo (latest dev)

Setting up the development environment

First, install uv.

git clone https://github.com/TheReverend403/pste
cd pste

uv sync --group dev
uv run pre-commit install

yarn install

Running

mkdir config
cp pste/resources/config/settings.toml config/settings.toml # Edit settings.toml

echo FLASK_APP=pste\nFLASK_ENV=development > .flaskenv

uv run flask assets build
uv run flask db upgrade
uv run flask user create # Or use /auth/register

# Do not use this in production, use a WSGI server such as gunicorn with pste:create_app() as your entrypoint.
uv run flask run