From 5c8c404145d1f24bfd10e29092afb93e86a980a2 Mon Sep 17 00:00:00 2001 From: Tom Atwell Date: Wed, 1 Nov 2017 15:32:55 -0700 Subject: [PATCH] Adds db app postgres roles to virtualbox deploy script to force database setup. --- config/deploy/virtualbox.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/deploy/virtualbox.rb b/config/deploy/virtualbox.rb index dda565c..26887e0 100644 --- a/config/deploy/virtualbox.rb +++ b/config/deploy/virtualbox.rb @@ -7,7 +7,7 @@ # cap virtualbox deploy # # Roles are where the various servers live -server "localhost", user: "deploy", roles: %w{web}, port: 2222 +server "localhost", user: "deploy", roles: %w{app db web postgres}, port: 2222 # Rbenv is under user. set :rbenv_type, :user @@ -23,4 +23,4 @@ def current_git_branch end # Set the deploy branch to the current branch -set :branch, current_git_branch \ No newline at end of file +set :branch, current_git_branch