- Copy
.gitconfig
content to.git/config
:cp .gitconfig .git/config
. - Edit
.git/config
as necessary:m .git/config
. - Install the gems bundle:
bi
.
- Create a new branch:
gco -b my-awesome-new-post
- Create your new post in the
_posts
folder:m _posts/2013-05-23-my-awesome-new-post.md
. - Write the post.
- Launch the local
ejekyll
server:bundle exec ejekyll serve --watch
. - Visit http://localhost:4000:
open http://localhost:4000
.
gp staging && heroku apps:open --app jilion-blog-staging
- Preview your post in staging to ensure all is good (see above for instructions).
- Once the post is validated. Merge your branch into master:
gco master && gm my-awesome-new-post
- Deploy to Heroku:
gp production && open http://blog.jilion.com
- Enjoy and don't forget to tweet about the post!