-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | ||
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } | ||
|
||
load 'config/deploy' # remove this line to skip loading any of the default tasks |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
set :application, "SpiritBoard" | ||
set :repository, "git@github.com:magicseth/SpiritBoard.git" | ||
set :branch, "master" | ||
|
||
set :scm, :git | ||
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` | ||
|
||
set :deploy_to, "/home/betterma/apps/SpritBoardCap" | ||
|
||
default_run_options[:pty] = true | ||
set :ssh_options, { :forward_agent => true } | ||
|
||
set :user, "betterma" | ||
|
||
# set :deploy_via, :remote_cache | ||
|
||
|
||
|
||
role :web, "bettermagician.com" # Your HTTP server, Apache/etc | ||
role :app, "bettermagician.com" # This may be the same as your `Web` server | ||
role :db, "bettermagician.com", :primary => true # This is where Rails migrations will run | ||
# role :db, "your slave db-server here" | ||
|
||
# If you are using Passenger mod_rails uncomment this: | ||
# if you're still using the script/reapear helper you will need | ||
# these http://github.com/rails/irs_process_scripts | ||
|
||
# namespace :deploy do | ||
# task :start {} | ||
# task :stop {} | ||
# task :restart, :roles => :app, :except => { :no_release => true } do | ||
# run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}" | ||
# end | ||
# end |