about summary refs log tree commit diff stats
path: root/config/deploy.rb
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-07-02 21:39:57 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-07-02 21:39:57 -0400
commit79d9cd3c5e3764db9d3506e1702042a7a7a4aea3 (patch)
tree3a83e1e9f4b307199b95de86a28f58eb0f40ae04 /config/deploy.rb
parent9cf94eec5ae98f750f9babc0c37373df87e3981c (diff)
downloadthoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.tar.gz
thoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.tar.bz2
thoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.zip
Set up Capistrano
Diffstat (limited to 'config/deploy.rb')
-rw-r--r--config/deploy.rb43
1 files changed, 43 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb new file mode 100644 index 0000000..16c6257 --- /dev/null +++ b/config/deploy.rb
@@ -0,0 +1,43 @@
1# config valid only for current version of Capistrano
2lock "3.8.1"
3
4set :application, "thoughts"
5set :repo_url, "git@github.com:hatkirby/thoughts.git"
6
7# Default branch is :master
8# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
9
10# Default deploy_to directory is /var/www/my_app_name
11set :deploy_to, "/srv/www/thoughts"
12
13# Default value for :format is :airbrussh.
14# set :format, :airbrussh
15
16# You can configure the Airbrussh format using :format_options.
17# These are the defaults.
18# set :format_options, command_output: true, log_file: "log/capistrano.log", color: :auto, truncate: :auto
19
20# Default value for :pty is false
21# set :pty, true
22
23# Default value for :linked_files is []
24append :linked_files, "config/database.yml"
25
26# Default value for linked_dirs is []
27append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/uploads"
28
29# Default value for default_env is {}
30# set :default_env, { path: "/opt/ruby/bin:$PATH" }
31
32# Default value for keep_releases is 5
33# set :keep_releases, 5
34
35# rvm
36set :rvm_type, :system
37set :rvm_custom_path, '/usr/local/rvm'
38
39# rails
40set :rails_env, 'production'
41set :conditionally_migrate, true
42set :migration_role, :app
43set :assets_roles, [:app]