Skip to content

jancr/blog

Repository files navigation

Inspiration

This is a simple blog adapted from How to make a Flask blog in one hour or less

For this to work

make a file in blog/secret.py and set SECRET_KEY to a long string

SECRET_KEY = 'shhh, secret!'

TODO: better security!

Check that it works

  1. clone and go to the blog folder
  • git clone https://github.com/jancr/blog blog
  • cd blog/blog
  • TODO: install dependencies
  1. Run the development server
  • python app.py --devel
  1. Add the test posts to the development database
  • python blog-post.py --deploy --devel

Run as real blog

  1. clone the repo
  • git clone https://github.com/jancr/blog blog
  1. clone the posts
  • cd blog/blog/static
  • TODO does this work?: git clone https://github.com/jancr/blog-posts blog-posts

General TODO:

no particular order

  • requirements.txt
  • about.html

Website TODO:

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published