diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-07-08 17:00:47 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-07-08 17:17:20 +0100 |
commit | b4573dc81135c0dc5f52588c6d4b6507901fa0b2 (patch) | |
tree | 9443b3c954a537ff5cc52f44f23e604c40b4d9be | |
parent | 477cadd8daeab4640f7f11a0467b8f7eee0f84b3 (diff) |
Change order of steps
update_code task fails if the config files aren't there yet
-rw-r--r-- | docs/installing/deploy.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/installing/deploy.md b/docs/installing/deploy.md index 6b073ab4b..e51adda31 100644 --- a/docs/installing/deploy.md +++ b/docs/installing/deploy.md @@ -90,7 +90,6 @@ Next, on your local machine: * `cd` into the Alaveteli repo you checked out (otherwise the `cap` commands you're about to execute won't work) * still on your local machine, run `cap -S stage=staging deploy:setup` to setup capistrano on the server -* again on your local machine, run `cap -S stage=staging deploy:update_code` to get a code checkout on the server Back on the server: @@ -115,6 +114,7 @@ Back on the server: Now, back on your local machine: * make sure you're still in the Alaveteli repo (if not, `cd` back into it) +* run `cap -S stage=staging deploy:update_code` to get a code checkout on the server. * create a deployment directory on the server by running *one* of these commands: * `cap deploy` if you're deploying a <a href="{{site.baseurl}}docs/glossary/#staging" class="glossary">staging site</a>, or... * `cap -S stage=production deploy` for <a href="{{site.baseurl}}docs/glossary/#production" class="glossary">production</a> |