mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-04-03 16:07:45 +02:00
update readme
This commit is contained in:
parent
5455e1b650
commit
c957beebc8
32
README.md
32
README.md
@ -2,6 +2,22 @@
|
|||||||
|
|
||||||
This is a simple blog based on Pythons Flask framework.
|
This is a simple blog based on Pythons Flask framework.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### 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.
|
||||||
|
You have to specify the filetype by extension.
|
||||||
|
|
||||||
|
Currently supported filetypes are:
|
||||||
|
- HTML (.html)
|
||||||
|
- Markdown (.md)
|
||||||
|
|
||||||
|
## To-Do
|
||||||
|
|
||||||
|
- CSS upgrade
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
### PIP/Python
|
### PIP/Python
|
||||||
@ -32,19 +48,3 @@ Set the following ports with the -p tag.
|
|||||||
#### Example run-command
|
#### Example run-command
|
||||||
|
|
||||||
`docker run --name blog --restart unless-stopped -v css:/blog/src/static/css -v html:/blog/src/templates -p 80:5000 -d tiynger/flaskblog`
|
`docker run --name blog --restart unless-stopped -v css:/blog/src/static/css -v html:/blog/src/templates -p 80:5000 -d tiynger/flaskblog`
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
### 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.
|
|
||||||
You have to specify the filetype by extension.
|
|
||||||
|
|
||||||
Currently supported filetypes are:
|
|
||||||
- HTML (.html)
|
|
||||||
- Markdown (.md)
|
|
||||||
|
|
||||||
## To-Do
|
|
||||||
|
|
||||||
- CSS upgrade
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user