This tutorial will cover launching an EC2 instance, setting up the Node.js/MongoDB stack, and keeping your app running as a service so that it is resilient to failure. Most everything is taken directly from the official documentation for the various packages, and I included links. That way you can refer to the tutorial as a general guide, and still use official documentation to get into the nitty-gritty details.
The way Octopress deploys to Github Pages is a little funky. When you setup your blog for deployment to Github Pages, a second copy of the repo is instantiated in ./_deploy, and is checked out to the master branch.
You create and edit posts in the source branch, in your project root. During deployment, your site gets generated, and the updates copied to _deploy. From there, a commit is made to master, and a git push is performed, updating the website.
When you clone your blog to a different computer, you need to make sure it is setup in the same way, like so:
# Assuming that you have your Ruby environment configured$ git clone -b source firstname.lastname@example.org:username/username.github.io.git username.github.io
$ cd username.github.io
$ git clone -b master email@example.com:username/username.github.io.git _deploy
$ bundle install
I've just been bursting at the seams to post this good news. Today is my first day of work at Chirp, a social media startup based right here in Long Beach. The team is awesome, and I couldn't be more excited to learn and grow as a developer, working on something big in the process. Thank you guys for such an amazing opportunity, and thank you to my previous employer, Gunn/Jerkens & Epraxa, for a wonderful 6.5 years. Here's to the new road ahead!