Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to deploy to new server #15

Merged
merged 2 commits into from
Jul 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ GEM
rubocop-rspec (~> 1.23.0)
docile (1.3.2)
honeybadger (4.7.0)
i18n (1.8.3)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
json (2.3.1)
net-scp (3.0.0)
Expand Down Expand Up @@ -104,4 +104,4 @@ DEPENDENCIES
rspec

BUNDLED WITH
1.15.4
2.1.4
2 changes: 1 addition & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set :application, 'rwj_reporting'
set :repo_url, 'https://github.com/sul-dlss/rwj_reporting.git'
set :deploy_to, '/home/media/rwj_reporting'
set :deploy_to, '/opt/app/media/rwj_reporting'

# Default branch is :master
ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
Expand Down
2 changes: 1 addition & 1 deletion config/deploy/prod.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The only production server at the moment. A second will be added after the node is pupgraded
server 'libstream.stanford.edu', user: 'media', roles: %w(app)
server 'rwjazz-stream.stanford.edu', user: 'media', roles: %w(app)

Capistrano::OneTimeKey.generate_one_time_key!

Expand Down