This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
beautify processbar, added capistrano + task
- Loading branch information
rngtng
committed
Feb 21, 2010
1 parent
3361ed0
commit b75819b
Showing
6 changed files
with
105 additions
and
100 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
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
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,35 @@ | ||
|
||
set :application, "fup" | ||
|
||
set :use_sudo, false | ||
|
||
# If you aren't deploying to /u/apps/#{application} on the target | ||
# servers (which is the default), you can specify the actual location | ||
# via the :deploy_to variable: | ||
set :deploy_to, "/kunden/warteschlange.de/produktiv/rails/fup" | ||
|
||
# If you aren't using Subversion to manage your source code, specify | ||
# your SCM below: | ||
set :scm, :git | ||
set :repository, "git://github.com/rngtng/FileUploadProgress.git" | ||
set :branch, "master" | ||
set :deploy_via, :remote_cache | ||
|
||
set :user, 'ssh-21560' | ||
set :ssh_options, { :forward_agent => true } | ||
|
||
role :app, "fup.warteschlange.de" | ||
role :web, "fup.warteschlange.de" | ||
role :db, "fup.warteschlange.de", :primary => true | ||
|
||
namespace :deploy do | ||
desc "Restarting mod_rails with restart.txt" | ||
task :restart, :roles => :app, :except => { :no_release => true } do | ||
run "touch #{current_path}/tmp/restart.txt" | ||
end | ||
|
||
[:start, :stop].each do |t| | ||
desc "#{t} task is a no-op with mod_rails" | ||
task t, :roles => :app do ; end | ||
end | ||
end |
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