Skip to content

Instantly share code, notes, and snippets.

@auser
Created October 5, 2008 21:55
Show Gist options
  • Save auser/14941 to your computer and use it in GitHub Desktop.
Save auser/14941 to your computer and use it in GitHub Desktop.
apache do
installed_as_worker
listen("8080")
has_virtualhost do
name "xnot.org"
template ::File.join(File.dirname(__FILE__), "cb/templates", "virtual_host.conf.erb")
has_file(:name => "/var/www/xnot.org/public/index.html") do
template ::File.join(File.dirname(__FILE__), "cb/templates", "index.html")
end
end
end
cloud :app do
# Stuff here
# Not sure how this works yet, but... the basic idea is check
# against the git repos for a checksum and if it's updated,
# then grab a new version
deploy_with :git
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment