octopress command memo

it2022-05-09  27

  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 taskrake gen_deploy # Generate website and deployrake generate # Generate jekyll site

 

5 github commit

git push origin source

转载于:https://www.cnblogs.com/xuhong/p/4741188.html


最新回复(0)