Last active
December 27, 2015 08:09
-
-
Save warolv/7293839 to your computer and use it in GitHub Desktop.
Octopress Commands
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment