-
Notifications
You must be signed in to change notification settings - Fork 9
Capistrano subdir configuration #155
base: capistrano_subdir_configuration
Are you sure you want to change the base?
Capistrano subdir configuration #155
Conversation
@@ -16,7 +16,7 @@ | |||
# server list. The second argument is a, or duck-types, Hash and is | |||
# used to set extended properties on the server. | |||
set :domain,YAML.load_file('config/deploy.yml')[fetch(:stage)][:domain] | |||
server fetch(:domain), user: 'ubuntu', roles: %w{db web app}#, my_property: :my_value | |||
server fetch(:domain), user: 'rails', roles: %w{db web app}#, my_property: :my_value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
%w-literals should be delimited by ( and ).
Missing space after #.
Put a space before an end-of-line comment.
Line is too long. [84/80]
@@ -24,7 +27,7 @@ | |||
# set :pty, true | |||
|
|||
# Default value for :linked_files is [] | |||
set :linked_files, ['config/database.yml','config/secrets.yml','config/deploy.yml','config/environment_params.yml'] | |||
set :linked_files, ['config/database.yml','config/secrets.yml','config/environment_params.yml'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space missing after comma.
Line is too long. [95/80]
@@ -1,4 +1,8 @@ | |||
# config valid only for Capistrano 3.1 | |||
# See http://stackoverflow.com/questions/29168/deploying-a-git-subdirectory-in-capistrano/6969505#6969505 for instructions on how |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [129/80]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im ok with that
@JohnSmall could you make the houndci-bot changes? |
Each Pull Request should relate to a single feature, therefore a single Issue. The smaller the Pull Request the faster it can be reviewed & merged. It should not be merged by the author.
Issues to close
Fixes #133
Notes
Notes on the Pull Request.
This holds the configurations required to run the Rails app behind Nginx and Phusion Passenger using deployment from a sub-tree in this case src/ruby/meetings
Requires a properly configured instance to deploy into. See my comment on #133
Once there's a fully configured instance in place then cd into src/ruby/meetings and run
cap production deploy:first_time
Which will set things up correctly, though I'll have to edit the production Nginx configuration file
It's best if I do that first step. After that all deploys become simply
cap production deploy
Tasks
Once merged to master, I'll do the first deployment and wire up Nginx to make the site visible. After that anyone can deploy