remove crap
This commit is contained in:
@@ -30,8 +30,6 @@ namespace :deploy do
|
|||||||
"ln -nfs #{current_path}/config/nginx.conf /etc/nginx/sites-enabled/#{application}"
|
"ln -nfs #{current_path}/config/nginx.conf /etc/nginx/sites-enabled/#{application}"
|
||||||
"ln -nfs #{current_path}/config/unicorn_init.sh /etc/init.d/unicorn_#{application}"
|
"ln -nfs #{current_path}/config/unicorn_init.sh /etc/init.d/unicorn_#{application}"
|
||||||
run "mkdir -p #{shared_path}/config"
|
run "mkdir -p #{shared_path}/config"
|
||||||
put File.read("config/database.example.yml"), "#{shared_path}/config/database.yml"
|
|
||||||
puts "Now edit the config files in #{shared_path}."
|
|
||||||
end
|
end
|
||||||
after "deploy:setup", "deploy:setup_config"
|
after "deploy:setup", "deploy:setup_config"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user