Skip to content

jilion/blog.jilion.com

Repository files navigation

Jilion Blog

Installation

  1. Copy .gitconfig content to .git/config: cp .gitconfig .git/config.
  2. Edit .git/config as necessary: m .git/config.
  3. Install the gems bundle: bi.

New post

  1. Create a new branch: gco -b my-awesome-new-post
  2. Create your new post in the _posts folder: m _posts/2013-05-23-my-awesome-new-post.md.
  3. Write the post.

Preview your post locally

  1. Launch the local ejekyll server: bundle exec ejekyll serve --watch.
  2. Visit http://localhost:4000: open http://localhost:4000.

Preview your post in staging

gp staging && heroku apps:open --app jilion-blog-staging

Publish your post

  1. Preview your post in staging to ensure all is good (see above for instructions).
  2. Once the post is validated. Merge your branch into master: gco master && gm my-awesome-new-post
  3. Deploy to Heroku: gp production && open http://blog.jilion.com
  4. Enjoy and don't forget to tweet about the post!

Additional resources