This is the base of a blogging website written in Python
To get this base blog online you'll need to:
- Get Billy to give you your own copy of this repo
- You probably already have this
- You'll have picked a unique domain name too
- Signup to Heroku
- Create an app on Heroku
- Use the European region when asked
- Connect your Heroku account to your Github account
- Connect your Heroku app to your Github repo
- Enable automatic deploys
- Make a change to your repo (using the Github editor)
- Visit your Heroku app's settings and add a custom domain
- add your personal CodeGuild domain
- e.g.
wm.codeguild.co
- Visit your domain and see your blog!
Simply add a new HTML file in the blog/templates/posts
directory and then link to it it the blog/templates/home.html
file.
It's easy, but boring. You should try using Python to automate these steps (be lazy!).