No description
Find a file
2023-07-11 09:41:46 +00:00
flaskr Minimum viable product 2023-07-11 14:09:54 +05:30
tests Minimum viable product 2023-07-11 14:09:54 +05:30
.gitignore Minimum viable product 2023-07-11 14:09:54 +05:30
LICENSE Add LICENSE 2023-07-11 09:41:46 +00:00
MANIFEST.in Minimum viable product 2023-07-11 14:09:54 +05:30
pyproject.toml Modified version number to reflect alpha stage 2023-07-11 14:22:24 +05:30
README.md Add README.md 2023-07-11 09:33:35 +00:00
requirements.txt Updated requirements.txt 2023-07-11 14:36:00 +05:30

Development

From the root directory, run pip install -r requirements.txt to install the package (and all dependencies) in editable mode.
Use flask --app flaskr run to run app. The package will be updated as you edit files.

Production

Run python -m build --wheel to generate the wheel, and install the wheel (found in dist/) in the production environment.
Use flask --app flaskr run to run app. To update package, you will need to install a new wheel.

Initializing database

The first time you install the app in each environment, you need to initialize database using flask --app flaskr init-db. This only needs to be run once per environment, and will delete existing database if run again.