I’ve always been fascinated with simple messaging systems. Back when SMS was the primary text message platform I worked with an agency to build various text based projects.
When developing locally it’s nice to be able to have multiple applications running at once and at
pre-determined local domains. The
/etc/hosts is one of the simplest ways to configure this but you have to modify it each time you’d like to add a new domain for local development. Pow.cx made this incredibly easy for a while but the better
approach is to be able to have a similar environment to what you’re running in production. Nginx
is really easy to get up and running with and nice to work with so I’ll be using that.
In my original post I talked about setting up Jekyll inside your existing Rails application via gems and modifying your
config.ru file. We can simplify the process even more than that though.
As I’ve been working on this Jekyll blog a bit more recently I’ve found myself wrapping up the most commonly used commands into scripts.