1
0
mirror of https://github.com/tiyn/beaker-blog.git synced 2025-04-02 15:37:46 +02:00

adding requirements and readme

This commit is contained in:
TiynGER 2020-05-22 21:24:16 +02:00
parent d4f9dbeb2e
commit c5577ce69b
4 changed files with 19 additions and 0 deletions

17
README.md Normal file
View File

@ -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.

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
Flask==1.1.2

0
static/css/style.css Normal file
View File

View File

@ -1,6 +1,7 @@
<html>
<head>
<title>{{ title }}</title>
<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width", initial-scale=1.0>
</head>