Skip to content

Commit

Permalink
Merge pull request #50 from unepwcmc/supported-production
Browse files Browse the repository at this point in the history
Supported production server details
  • Loading branch information
WKocur authored Apr 3, 2019
2 parents 5df14ac + fe1852c commit cb0cc7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ require "capistrano/bundler"
require "capistrano/rails/assets"
require "capistrano/rails/migrations"
require "capistrano/passenger"
require 'capistrano/yarn'
require 'capistrano/nvm'
#require 'capistrano/yarn'
#require 'capistrano/nvm'


# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Expand Down
2 changes: 1 addition & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


set :nvm_type, :user # or :system, depends on your nvm setup
set :nvm_node, 'v9.0.0'
set :nvm_node, 'v10.15.1'
set :nvm_map_bins, %w{node npm yarn}


Expand Down
6 changes: 3 additions & 3 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
set :stage, :production
set :branch, "master"
set :branch, "supported-production"


server "web-production.linode.unep-wcmc.org", user: 'wcmc', roles: %w{app web db}
server "web-supported-production.linode.unep-wcmc.org", user: 'wcmc', roles: %w{app web db}

set :application, "ocean-plus-library"
set :server_name, "ocean-plus-library.web-production.linode.unep-wcmc.org"
set :server_name, "ocean-plus-library.web-supported-production.linode.unep-wcmc.org"
set :sudo_user, "wcmc"
set :app_port, "80"

Expand Down

0 comments on commit cb0cc7b

Please sign in to comment.