production

This commit is contained in:
Nweni
2019-10-23 11:37:38 +06:30
parent 256fd7d939
commit 565c0a5ec4
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)}"