Merge pull request #812 from goodbrews/capistrano-samples

Link to helpful article on Capistrano deployment
This commit is contained in:
Sam 2013-05-05 17:51:17 -07:00
commit 872866744f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# For help deploying via Capistrano, see this thread:
# http://meta.discourse.org/t/deploy-discourse-to-an-ubuntu-vps-using-capistrano/6353
load 'deploy' if respond_to?(:namespace) load 'deploy' if respond_to?(:namespace)
load 'deploy/assets' load 'deploy/assets'
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }

View File

@ -2,6 +2,9 @@
# One of the recipes (deploy:symlink_nginx) assumes you have an nginx configuration # One of the recipes (deploy:symlink_nginx) assumes you have an nginx configuration
# file at config/nginx.conf. You can make this easily from the provided sample # file at config/nginx.conf. You can make this easily from the provided sample
# nginx configuration file. # nginx configuration file.
#
# For help deploying via Capistrano, see this thread:
# http://meta.discourse.org/t/deploy-discourse-to-an-ubuntu-vps-using-capistrano/6353
require 'bundler/capistrano' require 'bundler/capistrano'
require 'sidekiq/capistrano' require 'sidekiq/capistrano'