Jump to content

Running Staticman on Heroku

Posted in Jekyll · 1 minute read

Please note that I'm not using Jekyll anymore, so this post might be outdated.

I'm using Staticman as a comment system on this blog. Unfortunately public instance can't handle all of the requests coming in. That resulted in some readers being unable to post a comment.

That is why I decided to run my own instance on Heroku. It was easy to find this great article describing the process thoroughly. But after following it and deploying Statamic to Heroku, I just couldn't make it work.

It took me a while until I found another article with a workaround. Long story short, you need to use a specific version instead of the latest one.

In the first article in "Stage 2" in "Step 7" replace this:

git checkout -b production origin/dev

with this:

git checkout -b production 55d1430

That should be it. Now I have my own instance (running on a Heroku's free tier) and hopefully there will be no further issues with posting comments.

Comments (4)

23. February 2020
Igor Kowalczyk

Really god article

4. August 2020
Vipin

Nice blog. It worked

17. August 2020
Tom

Nice work

27. January 2021
Loubard

Thx a lot dude