Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Use capistrano for deploys #425

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
/config/initializers/devise.rb
/config/facebook.yml
/.idea/
/config/deploy.rb
/Capfile

/config/newrelic.yml

Expand All @@ -37,7 +35,6 @@
.ruby-version
.ruby-env

/config/database.yml
/config/puma.rb

# Ignore 1337 secrets
Expand Down
26 changes: 26 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Load DSL and Setup Up Stages
require 'capistrano/setup'

# Includes default deployment tasks
require 'capistrano/deploy'

# Include bundler related tasks
require 'capistrano/bundler'

# Includes tasks from other gems included in your Gemfile
#
# For documentation on these, see for example:
#
# https://github.com/capistrano/rvm
# https://github.com/capistrano/rbenv
# https://github.com/capistrano/chruby
# https://github.com/capistrano/bundler
# https://github.com/capistrano/rails
#
require 'capistrano/rvm'
require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'
require 'capistrano/puma'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,12 @@ gem 'rollbar'
# Use unicorn as the app server
# gem 'unicorn'

#Deploy with Capistrano
# Deploy with Capistrano
gem 'capistrano'
gem 'capistrano-bundler'
gem 'capistrano-rvm'
gem 'capistrano-rails'
gem 'capistrano3-puma'

# To use debugger
# gem 'debugger'
Loading