SHIMADA Koji
null+****@clear*****
Sat Sep 29 21:51:32 JST 2012
SHIMADA Koji 2012-09-29 21:51:32 +0900 (Sat, 29 Sep 2012) New Revision: 839bff03520b5747c4fe3bd4f9901a2ed205e77c https://github.com/logaling/logaling-server/commit/839bff03520b5747c4fe3bd4f9901a2ed205e77c Log: capistrano: capify . Added files: Capfile config/deploy.rb Added: Capfile (+4 -0) 100644 =================================================================== --- /dev/null +++ Capfile 2012-09-29 21:51:32 +0900 (6a798eb) @@ -0,0 +1,4 @@ +load 'deploy' +# Uncomment if you are using Rails' asset pipeline + # load 'deploy/assets' +load 'config/deploy' # remove this line to skip loading any of the default tasks \ No newline at end of file Added: config/deploy.rb (+25 -0) 100644 =================================================================== --- /dev/null +++ config/deploy.rb 2012-09-29 21:51:32 +0900 (950f575) @@ -0,0 +1,25 @@ +set :application, "set your application name here" +set :repository, "set your repository location here" + +set :scm, :subversion +# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` + +role :web, "your web-server here" # Your HTTP server, Apache/etc +role :app, "your app-server here" # This may be the same as your `Web` server +role :db, "your primary db-server here", :primary => true # This is where Rails migrations will run +role :db, "your slave db-server here" + +# if you want to clean up old releases on each deploy uncomment this: +# after "deploy:restart", "deploy:cleanup" + +# if you're still using the script/reaper helper you will need +# these http://github.com/rails/irs_process_scripts + +# If you are using Passenger mod_rails uncomment this: +# namespace :deploy do +# task :start do ; end +# task :stop do ; end +# task :restart, :roles => :app, :except => { :no_release => true } do +# run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}" +# end +# end \ No newline at end of file -------------- next part -------------- An HTML attachment was scrubbed... Download