Created
November 19, 2012 23:38
-
-
Save nathansmith/4114900 to your computer and use it in GitHub Desktop.
Used to export flat HTML, and put into a Zip file
This file contains hidden or 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
# 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
^^ This gist is a helpful way to get more utility out of Serve (the "V" of Rails' MVC)…
http://get-serve.com