Created
June 6, 2015 13:54
-
-
Save hoangddt/03a66b883eccb5b7a6f3 to your computer and use it in GitHub Desktop.
Some common command use with octopress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some dependence | |
gem install bundler | |
rbenv rehash | |
bundle install | |
# setup | |
rake setup_github_pages | |
# Install theme | |
# clone in to .theme/<theme_name> | |
rake install['<theme_name>'] | |
rake generate | |
# create a post | |
alias rake='noglob rake' | |
rake new_post['hello world post'] | |
rake generate | |
rake preview | |
rake deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment