Skip to content

Instantly share code, notes, and snippets.

@Voker57
Created September 7, 2009 11:44
Show Gist options
  • Save Voker57/182314 to your computer and use it in GitHub Desktop.
Save Voker57/182314 to your computer and use it in GitHub Desktop.
# Reploy example, see http://bitcheese.net/wiki/reploy/examples
require 'reploy'
Reploy.load(:host => "example.com",
:user => "user",
:path => "/var/www/example.com",
:recipes => ["git", "merb", "rsync"],
:copy => [["config/database.yml","config"]],
:store_backups => false,
:merb => { :host => "127.0.0.1",
:port => "4000",
:environment => "production",
:adapter => "thin"
};
:git => { :from => "git://git.myrepo.org/site.git"}
)
task :deploy => ["reploy:merb:deploy"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment