Created
October 5, 2008 21:55
-
-
Save auser/14941 to your computer and use it in GitHub Desktop.
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
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