/sang-flaskr

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Sang Flaskr

A customized basic blog app built following the Flask tutorial.

This project is a spin-off of the tutorial project of Flask.

Install

poetry install 

Run

./init-db.sh
./serve.sh

Open http://127.0.0.1:5001 in a browser.

Test

poetry run pytest

Run with coverage report

poetry run coverage run -m pytest
poetry run coverage report
poetry run coverage html  # open htmlcov/index.html in a browser