Skip to content

Instantly share code, notes, and snippets.

@nathansmith
Created November 19, 2012 23:38
Show Gist options
  • Save nathansmith/4114900 to your computer and use it in GitHub Desktop.
Save nathansmith/4114900 to your computer and use it in GitHub Desktop.
Used to export flat HTML, and put into a Zip file
# Serve & Export commands
alias client_site='cd ~/projects/client-site && serve'
alias client_site_html='cd ~/projects && rm -rf client-site-html && cd ~/projects/client-site && serve export ../client-site-html && cd ~/projects/client-site-html && zip -r templates.zip ./* && open index.html'
@nathansmith
Copy link
Author

^^ This gist is a helpful way to get more utility out of Serve (the "V" of Rails' MVC)…

http://get-serve.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment