Browse Source

adding requirements and readme

master
TiynGER 7 months ago
parent
commit
c5577ce69b
4 changed files with 19 additions and 0 deletions
  1. +17
    -0
      README.md
  2. +1
    -0
      requirements.txt
  3. +0
    -0
      static/css/style.css
  4. +1
    -0
      templates/template.html

+ 17
- 0
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.

+ 1
- 0
requirements.txt

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

+ 0
- 0
static/css/style.css


+ 1
- 0
templates/template.html

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

Loading…
Cancel
Save