记录生活中的技术和思考
I think, therefore I am. —— René Descartes
Run bundle install
install depencies.
Run rake --tasks
will list all helpers.
When run rake serve
,you can write blog without care about server build.
Run rake deploy
to deploy the blog to Github Pages.
-
rake serve
orrake s
start server -
rake clean
orrake c
clean build directory -
rake build
orrake b
run clean && build blog static -
rake deploy
orrake d
run build && push to Github Pages Repository for generating Github Pages -
rake push
orrake p
rungit add * && git commit -m 'update blog' && git push
-
rake pd
==rake push && rake deploy
-
rake new
create new post
e.g rake "new[post-tile]"