Commit df5717f4 by Tran Hoang Viet

VietTH: Move server to koding.io

parent 89e7a441
# config valid only for current version of Capistrano # config valid only for current version of Capistrano
lock '3.4.0' lock '3.4.0'
set :application, 'vietth' set :application, 'venshop'
set :pty, false set :pty, false
# set :branch, 'master' # set :branch, 'master'
......
set :port, 22 set :port, 22
set :user, 'ventura' set :user, 'alicuche'
set :deploy_via, :remote_cache set :deploy_via, :remote_cache
set :use_sudo, false set :use_sudo, false
set :repo_url, 'git@gitlab.zigexn.vn:vietth/VietTH-VenShop.git' set :repo_url, 'git@bitbucket.org:alicuche/venshop.git'
server '192.168.1.204', server 'alicuche.koding.io',
roles: [:web, :app, :db], roles: [:web, :app, :db],
port: fetch(:port), port: fetch(:port),
user: fetch(:user), user: fetch(:user),
primary: true primary: true
set :deploy_to, "/web/training/#{fetch(:application)}" set :deploy_to, "/home/alicuche/Web/#{fetch(:application)}"
set :ssh_options, { set :ssh_options, {
forward_agent: true, forward_agent: true,
......
root = "/web/training/vietth/current" root = "/home/alicuche/Web/venshop/current"
working_directory root working_directory root
pid "#{root}/tmp/pids/unicorn.pid" pid "#{root}/tmp/pids/unicorn.pid"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment