From 4f9e8002f787e07126b52c503d19c184f024701d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 8 Mar 2024 18:39:37 +0100 Subject: [PATCH] example on how to setup dev env --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d76bff5..47870c3 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,12 @@ personal diary with txt style, can be private! | path | description | | :--------------: | :--------------------: | | `/txtdiary/data` | where posts are stored | + +## local run + +for example, using `pass` password: + +```sh +$ pip install -r requirements.txt +$ TD_USERPASS=pass FLASK_APP=src/app flask run +```