a Code Farmer

A blogging framework for hacker who farms

How to Add a New Post on Octopress

Show me how

This post is for my memory-limited brain. Basically, three step needed.

Console
1
2
3
4
5
6
7
8
9
10
11
###1. Create a new post.
rake new_post\["POST_TITLE"\] # notice the backslash before square brackets
# new created post file will locate at place like line below. End with *.markdown.  

###2. Add markdown format stuff here
vi PATH_TO_OCTOPRESS/source/_posts/DATE-POST_TITLE.markdown

###3. Generate compliled files and push to server you defined before.
rake generate && rake deploy
# or
rake gen_deploy

And we are done here.

Comments