Permalink
Browse files

gf3 making shit easy

  • Loading branch information...
1 parent c455320 commit 558e67967d6153991ddb1e1e51d4e647282518b2 @wesbos committed Sep 13, 2011
Showing with 19 additions and 0 deletions.
  1. +3 −0 site/Capfile
  2. +16 −0 site/config/deploy.rb
View
@@ -0,0 +1,3 @@
+require 'rubygems'
+require 'railsless-deploy'
+load 'config/deploy'
View
@@ -0,0 +1,16 @@
+set :application, "chrome.io"
+set :repository, "git@github.com:wesbos/chromeio.git"
+set :deploy_to, "/chrome.io/"
+set :scm, :git
+set :user, :wesbos
+
+set :use_sudo, false
+
+role :web, "192.168.10.10" # Your HTTP server, Apache/etc
+role :app, "192.168.10.10" # This may be the same as your `Web` server
+
+namespace :deploy do
+ task :restart, :roles => :app, :except => { :no_release => true } do
+ run "forever restart 0"
+ end
+end

0 comments on commit 558e679

Please sign in to comment.