This is a simple blog adapted from How to make a Flask blog in one hour or less
make a file in blog/secret.py and set SECRET_KEY
to a long string
SECRET_KEY = 'shhh, secret!'
TODO: better security!
- clone and go to the blog folder
git clone https://github.com/jancr/blog blog
cd blog/blog
- TODO: install dependencies
- Run the development server
python app.py --devel
- Add the test posts to the development database
python blog-post.py --deploy --devel
- clone the repo
git clone https://github.com/jancr/blog blog
- clone the posts
cd blog/blog/static
- TODO does this work?:
git clone https://github.com/jancr/blog-posts blog-posts
no particular order
requirements.txt
about.html
- chronological listing of posts
- make it possible to post via local host so the "secret" for posting is not leaked.
- Extend database with 'series' and add 'next in series' to
details.html
- Add "next post" to the bottom of the
detail.html