octopress command memo

  1 rake new_post

rake new_post[title]           # Begin a new post in source/_posts

 

2 rake preview

http://samxu.dev to preview

 

3 rake watch

can watch the site and regenerate when it changes

 

4 rake generate and deploy

rake deploy # Default deploy task
rake gen_deploy # Generate website and deploy
rake generate # Generate jekyll site

 

5 github commit

git push origin source

posted @ 2015-08-19 08:20  samxu  阅读(110)  评论(0编辑  收藏  举报