ruby Octopress命令

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ruby Octopress命令相关的知识,希望对你有一定的参考价值。

rake generate   # Generates posts and pages into the public directory
rake watch      # Watches source/ and sass/ for changes and regenerates
rake preview    # Watches, and mounts a webserver at http://localhost:4000
rake 'new_post["Building Form Ajax Validator"]' # Generate new post

# Create a new page
rake new_page[super-awesome]
rake new_page[super-awesome/page.html]


# Push to origin on Bitbucket
git push origin master

# Pull from octopress on Github
git pull octopress master

# Deploy to Amazon S3
s3cmd sync --acl-public --reduced-redundancy public/* s3://www.example.com/

rake deploy

以上是关于ruby Octopress命令的主要内容,如果未能解决你的问题,请参考以下文章

Octopress博客搭建

Octopress 搭建静态博客网站环境配置

Octopress博客使用

markdown 将您的Octopress文件导出到Ghost

xml mizuyarilink_octopress_atom.xml

python 用于Octopress的Python Web Scraper将数据推送到ES