参照

Octopress

basic command

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 deploy

rake gen_deploy # generate + deploy

Writing new posts and Publishing

rake new_post["title your post"]
git add .
git commit -m 'your message'
git push origin source

rake gen_deploy

results matching ""

    No results matching ""