From 565c0a5ec48a0e72bc7818f3c1469b75fe366579 Mon Sep 17 00:00:00 2001 From: Nweni Date: Wed, 23 Oct 2019 11:37:38 +0630 Subject: [PATCH] production --- Gemfile.lock | 2 +- config/deploy/production.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a64de866..c0dd2cf8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,7 +62,7 @@ GEM builder (3.2.3) byebug (11.0.1) cancancan (1.17.0) - capistrano (3.11.2) + capistrano (3.10.1) airbrussh (>= 1.0.0) i18n rake (>= 10.0.0) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 8c23cfa6..23a6daf7 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -12,6 +12,7 @@ set :stage, :production set :server_name, "svr.sxrestaurant.host" set :full_app_name, "#{fetch(:application)}_#{fetch(:stage)}" + server '52.77.219.228', user: 'deploy', roles: %w{web app db}, primary: true set :deploy_to, "/home/#{fetch(:deploy_user)}/apps/#{fetch(:full_app_name)}"