Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rendezvous
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VeNtura
rendezvous
Commits
922e3863
Commit
922e3863
authored
Jul 23, 2014
by
tady
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix unicorn config
parent
a3b664b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
config/deploy.rb
+1
-2
config/deploy/production.rb
+4
-4
config/unicorn/production.rb
+0
-0
No files found.
config/deploy.rb
View file @
922e3863
...
@@ -6,7 +6,7 @@ set :repo_url, 'git@github.com:tadyjp/rendezvous.git'
...
@@ -6,7 +6,7 @@ set :repo_url, 'git@github.com:tadyjp/rendezvous.git'
# Default branch is :master
# Default branch is :master
# ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }
# ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }
set
:branch
,
fetch
(
:branch
,
"master"
)
set
:branch
,
ENV
[
'REVISION'
]
||
'master'
# Default deploy_to directory is /var/www/my_app
# Default deploy_to directory is /var/www/my_app
set
:deploy_to
,
'/var/www/rendezvous'
set
:deploy_to
,
'/var/www/rendezvous'
...
@@ -83,6 +83,5 @@ namespace :linked_files do
...
@@ -83,6 +83,5 @@ namespace :linked_files do
end
end
end
end
before
'deploy:check:make_linked_dirs'
,
'linked_files:touch'
before
'deploy:check:linked_files'
,
'linked_files:touch'
before
'deploy:check:linked_files'
,
'linked_files:touch'
end
end
config/deploy/production.rb
View file @
922e3863
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
# server in each group is considered to be the first
# server in each group is considered to be the first
# unless any hosts have the primary property set.
# unless any hosts have the primary property set.
# Don't declare `role :all`, it's a meta role
# Don't declare `role :all`, it's a meta role
role
:app
,
%w{
tady@
rendezvous}
role
:app
,
%w{rendezvous}
role
:web
,
%w{
tady@
rendezvous}
role
:web
,
%w{rendezvous}
role
:db
,
%w{
tady@
rendezvous}
role
:db
,
%w{rendezvous}
# Extended Server Syntax
# Extended Server Syntax
# ======================
# ======================
...
@@ -21,7 +21,7 @@ role :db, %w{tady@rendezvous}
...
@@ -21,7 +21,7 @@ role :db, %w{tady@rendezvous}
# you can see them in [net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start)
# you can see them in [net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start)
# set it globally
# set it globally
set
:ssh_options
,
{
set
:ssh_options
,
{
keys:
%w(
/Users/tady
/.ssh/id_rsa)
,
keys:
%w(
~
/.ssh/id_rsa)
,
forward_agent:
true
,
forward_agent:
true
,
auth_methods:
%w(publickey)
auth_methods:
%w(publickey)
}
}
...
...
config/unicorn.rb
→
config/unicorn
/production
.rb
View file @
922e3863
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment