Commit 268fa38ea51870673daee477fb9aee241f8eb83c
Committed by
Stephen Crosby
1 parent
78c859f7
Exists in
master
First setup the config files and later check (#1092)
Please correct me if I'm wrong but first the config files should be uploaded to the destination server and later check the configs. If I run first `bundle exec cap production deploy:check` I'll get this error: ``` ERROR linked file /var/www/apps/errbit/shared/config/puma.rb does not exist on (Backtrace restricted to imported tasks) ``` Running first `bundle exec cap production errbit:setup` will pass
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
docs/deployment/capistrano.md
@@ -18,13 +18,13 @@ $EDITOR config/deploy.rb | @@ -18,13 +18,13 @@ $EDITOR config/deploy.rb | ||
18 | cp config/deploy/production.example.rb config/deploy/production.rb | 18 | cp config/deploy/production.example.rb config/deploy/production.rb |
19 | $EDITOR config/deploy/production.rb | 19 | $EDITOR config/deploy/production.rb |
20 | 20 | ||
21 | -# Check to make sure configs exist | ||
22 | -bundle exec cap production deploy:check | ||
23 | - | ||
24 | # Create the configs yourself, or run errbit:setup to upload the | 21 | # Create the configs yourself, or run errbit:setup to upload the |
25 | # defaults | 22 | # defaults |
26 | bundle exec cap production errbit:setup | 23 | bundle exec cap production errbit:setup |
27 | 24 | ||
25 | +# Check to make sure configs exist | ||
26 | +bundle exec cap production deploy:check | ||
27 | + | ||
28 | # Deploy | 28 | # Deploy |
29 | bundle exec cap production deploy | 29 | bundle exec cap production deploy |
30 | 30 |