From a631471bd64262e498cff26bb2465949f15370b5 Mon Sep 17 00:00:00 2001 From: David Gay Date: Mon, 24 May 2021 22:19:07 -0400 Subject: More work on tuning capistrano deploy --- config/database.yml | 1 + config/deploy.rb | 2 ++ 2 files changed, 3 insertions(+) (limited to 'config') diff --git a/config/database.yml b/config/database.yml index bf858ca..4ba4454 100644 --- a/config/database.yml +++ b/config/database.yml @@ -81,5 +81,6 @@ test: # production: <<: *default + database: <%= ENV["ESOTERRA_DATABASE_NAME"] %> username: <%= ENV["ESOTERRA_DATABASE_USERNAME"] %> password: <%= ENV["ESOTERRA_DATABASE_PASSWORD"] %> diff --git a/config/deploy.rb b/config/deploy.rb index 8384427..925f0d6 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -17,6 +17,8 @@ append :linked_files, "config/database.yml", "config/master.key" set :keep_assets, 2 set :keep_releases, 5 +set :conditionally_migrate, true + set :rvm_custom_path, "/usr/share/rvm" # Needed for DO one-click Rails install setup # upload master.key and database.yml -- cgit v1.2.3