Blog hosted on heroku

February 5, 2018

My blog is now hosted on heroku. I decided to switch from GitHub Pages. Heroku has also support for git and jekyll, which is perfect for my blog. So like before I can just make my changes, watch and check them locally with jekyll serve and if everything is okay just push them via git to my heroku repository. It also gives me some additional stuff, which enable my blog to use some kind of authentication at some parts of it.

These are the steps required for the workflow:

# install heroku client
$ brew install heroku/brew/heroku

# login
$ heroku login

# clone the repository
$ heroku git:clone -a smnmtzgr-blog
$ cd smnmtzgr-blog

# make changes and deploy them
$ git add --all
$ git commit -am "make it better"
$ git push heroku master