From c1f835924a5916b0f9330c3cbea206732b40f8e1 Mon Sep 17 00:00:00 2001 From: Stuart Watson Date: Thu, 8 Nov 2018 15:09:18 +0000 Subject: [PATCH] Added production deploy --- config/deploy/production.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 4bb7a714..b916bf6c 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1,3 +1,16 @@ +set :stage, :production +set :branch, "master" + + +server "web-production.linode.unep-wcmc.org", user: 'wcmc', roles: %w{app web db} + +set :application, "ocean-plus-habitats" +set :server_name, "ocean-plus-habitats.web-production.linode.unep-wcmc.org" +set :sudo_user, "wcmc" +set :app_port, "80" + + + # server-based syntax # ====================== # Defines a single server with a list of roles and multiple properties.