Basic Things About Octopress...

Deploy relative

Make a new post

In octopress root directory, type

1
username$ rake new_post["title name"]

you can find this post in source/_posts

Publish blog & post

1
2
username$ rake generate
username$ rake deploy

after entering github username & password you are done.

Delete a post

Simply go to source/_posts ,delete what post you don’t want and run

1
2
username$ rake generate
username$ rake deploy

Preview and watch changes of blog

1
2
username$ rake generate
username$ rake preview

Edit relative

Add block

see here

1
This is [an example](http://example.com/ "Title") inline link.

Image

1
![alt text](url)

cat

new post

WoW

Here is a sentance.

Here is another!

wow why here are so many sentance and this one it’s toooooooooooooooooooooooooooooo long!

code snippet!
1
2
var arr1 = new Array(arrayLength);
var arr2 = new Array(element0, element1, ..., elementN);