|
|
@ -1,5 +1,4 @@ |
|
|
|
require 'bundler/capistrano' |
|
|
|
require 'bundler/capistrano' |
|
|
|
load 'deploy/assets' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set :application, 'simpledns' |
|
|
|
set :application, 'simpledns' |
|
|
|
set :domain, 'zooz.dyndns.org' |
|
|
|
set :domain, 'zooz.dyndns.org' |
|
|
@ -22,6 +21,8 @@ role :db, domain, :primary => true # This is where Rails migrations will run |
|
|
|
|
|
|
|
|
|
|
|
after 'deploy:update_code', 'deploy:symlink_db' |
|
|
|
after 'deploy:update_code', 'deploy:symlink_db' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
load 'deploy/assets' |
|
|
|
|
|
|
|
|
|
|
|
# TODO |
|
|
|
# TODO |
|
|
|
# chown -R clyfe:wwwdata /srv/www/apps/entrydns/current/public |
|
|
|
# chown -R clyfe:wwwdata /srv/www/apps/entrydns/current/public |
|
|
|
# find /srv/www/apps/entrydns/current/public -type d -exec chmod 0750 {} + |
|
|
|
# find /srv/www/apps/entrydns/current/public -type d -exec chmod 0750 {} + |
|
|
|