Skip to content

Instantly share code, notes, and snippets.

@chartjes
Created September 8, 2011 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chartjes/1203880 to your computer and use it in GitHub Desktop.
Save chartjes/1203880 to your computer and use it in GitHub Desktop.
rake clean # Clean out caches: _code_cache, _gist_cache, .sass-cache
rake config_deploy[branch] # Setup _deploy folder and deploy branch
rake copydot # copy dot files for deployment
rake deploy # Default deploy task
rake generate # Generate jekyll site
rake install[theme] # Initial setup for Octopress: copies the default theme into the path of Jekyll's generator.
rake integrate # Move all stashed posts back into the posts directory, ready for site generation.
rake isolate[filename] # Move all other posts than the one currently being worked on to a temporary stash location (stash) so regenerating the site happens much quicker.
rake list # list tasks
rake new_page[filename] # Create a new page in source/(filename)/index.markdown
rake new_post[title] # Begin a new post in source/_posts
rake preview # preview the site in a web browser
rake push # deploy public directory to github pages
rake rsync # Deploy website via rsync
rake set_root_dir[dir] # Update configurations to support publishing to root or sub directory
rake update_source[theme] # Move source to source.old, install source theme updates, replace source/_includes/navigation.html with source.old's navigation
rake update_style[theme] # Move sass to sass.old, install sass theme updates, replace sass/custom with sass.old/custom
rake watch # Watch the site and regenerate when it changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment