Skip to content

Preocts/flask_playground

Repository files navigation

Python 3.11 | 3.12 Code style: black pre-commit

pre-commit.ci status Python tests

flask_playground

Pizza datasource: download

Dev Setup

Assumes use of a virtual environment (venv)

Install all dependencies and editable package

python -m pip install -e .[dev,test]; pre-commit install

Build a database file

python -m flask_playground.pizzastore

Set app secret key (optional)

export FLASK_APP_SECRET_KEY=$(python -c "import secrets; print(secrets.token_hex(32))")

A random key will be assigned to the app if not present in the environment variables on launch. This will work in most cases but all sessions will be invalidated on each launch.

Launch test server

python -m flask_playground.app

About

A testing repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published