From c5577ce69b8d410e032347e7d094997337a4a865 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Fri, 22 May 2020 21:24:16 +0200 Subject: [PATCH] adding requirements and readme --- README.md | 17 +++++++++++++++++ requirements.txt | 1 + static/css/style.css | 0 templates/template.html | 1 + 4 files changed, 19 insertions(+) create mode 100644 README.md create mode 100644 requirements.txt create mode 100644 static/css/style.css diff --git a/README.md b/README.md new file mode 100644 index 0000000..24f10f9 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Python Flask Blog + +This is a blog based on Pythons Flask framework. + +## Installation + +- `pip3 install requirements.txt` - install depenencies + +## Usage + +- run `python app.py` +- blog is available on port 5000 + +### Create entries + +Blog entries are managed by plain html files in the `templates/entry/` directory. +The first line of each document is reserved as the title of the document. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..46a48dd --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Flask==1.1.2 diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..e69de29 diff --git a/templates/template.html b/templates/template.html index c6ef677..4e82b92 100644 --- a/templates/template.html +++ b/templates/template.html @@ -1,6 +1,7 @@ {{ title }} +