about 3 years ago
This Blog has gone through several incarnations. When I started blogging I used subtext. Then I decided it was time to reinvent wheels and rolled my own, hodge-podge, blogging solution. It worked ok, but I found I had extreme difficulty engaging with the community. People would leave replies and I had no idea if they ever got my response. Further more creating content was becoming a huge pain.
I ended up using the Discourse editor for some posts and then pasting the body of the post here. Crazytown.
So I had this idea, what if I could have Discourse turtles all the way down.
I took some time to extend out plugin story and using the magic of Rails engines managed to host my blog inside Discourse.
You can see the full source code of this blog as a Discourse plugin at: https://github.com/SamSaffron/blog
I am hosted on Digital Ocean (a 2GB instance).
I am also experimenting with some less traditional Discourse configs:
- I am running Rails 4
- I am running unicorn, with Rack Hijack to handle long polling
- I am running no bluepill, I tricked unicorn into demonizing sidekiq and use an upstart job. Let's see how it goes.
All of this and more deserves a much more detailed blog post.
Before any of this, let me address the elephant in the room. Commenting on this blog just became way more complicated. I plan to address that, in a future update, this is a temporary state. I want to bring back the traditional commenting box.
That said, I have email integration set up, so now when I respond to you, you will get an email you can respond to. You will not even need to visit this site to spam my blog
Overall, I am super excited about this. It pushes the limits of what can be done with Discourse and leaves breadcrumbs for others to follow.
More to come, now that blogging became so much easier.