cap
This commit is contained in:
parent
4dfc7a5669
commit
0894bf9bbe
2
Gemfile
2
Gemfile
@ -28,8 +28,6 @@ end
|
||||
gem 'jquery-rails'
|
||||
|
||||
|
||||
gem 'capistrano'
|
||||
gem 'rvm-capistrano'
|
||||
|
||||
gem 'formtastic'
|
||||
gem 'haml-rails'
|
||||
|
@ -30,7 +30,7 @@ set :application, 'nb_app'
|
||||
role :db, domain, :primary => true
|
||||
|
||||
set :scm, :git
|
||||
set :repository, "git@gitlab.bally.me:root/nb_app.git"
|
||||
set :repository, "git@git.nicolasbally.com:root/nb_app.git"
|
||||
set :branch, "master"
|
||||
|
||||
default_run_options[:pty] = true
|
||||
@ -86,7 +86,7 @@ set :application, 'nb_app'
|
||||
run "rm -rf #{release_path}/db/production.sqlite3"
|
||||
run "ln -s #{deploy_to}shared/production.sqlite3 #{release_path}/db/production.sqlite3"
|
||||
|
||||
sudo "cp #{current_path}/config/unicorn_init_d /etc/init.d/#{application}"
|
||||
sudo "cp #{release_path}/config/unicorn_init_d /etc/init.d/#{application}"
|
||||
|
||||
sudo "chmod +x /etc/init.d/#{application}"
|
||||
sudo "update-rc.d #{application} defaults "
|
||||
|
Loading…
x
Reference in New Issue
Block a user