This is a remainder for myself how to create new post with new Octopress 3.

octopress new post "post title"
open _posts/<timestamp>-post-title.markdown
(edit post)
git add .
git commit -m "adding new post"
git push origin source
jekyll build
octopress deploy
  1. Create new post stub with given title post title. Octopress creates new Markdown file.
  2. Open new post for edit. On my Mac .markdown files are assosiated with MacDown - Open source Markdown editor for OS X.
  3. Edit the post and save the changes.
  4. Add new file to git.
  5. Commit changes to git.
  6. Deploy post source code to GitHub project’s source branch.
  7. Build the blog using Jekyll
  8. Deploy the blog with Octopress Deploy - octopress-deploy gem.

It’s also possible to test new post locally with Jekyll:

jekyll serve

Local server address is http://127.0.0.1:4000.