diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-07-01 16:21:29 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-07-16 11:52:52 +0100 |
commit | 481bccaa8debab232dc37c18a6d4b93cb669b1dd (patch) | |
tree | a0b361f79eb79fe80d9ed1b935811f9ff0f0b82e /docs/installing/deploy.md | |
parent | 427e4bb9e8d28d5be9aadcb518fd81d0553478c9 (diff) |
Add instructions for setting up authentication of deployment user
Diffstat (limited to 'docs/installing/deploy.md')
-rw-r--r-- | docs/installing/deploy.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/installing/deploy.md b/docs/installing/deploy.md index 5c6514456..6e3a4e486 100644 --- a/docs/installing/deploy.md +++ b/docs/installing/deploy.md @@ -69,7 +69,11 @@ and thereafter you'll be able to deploy very easily (see [usage, below](#usage)) First, on the server: * [install Alaveteli]({{ site.baseurl }}docs/installing/) -* then move the Alaveteli app to a temporary place on the server, like your home +* give the Unix user that runs Alaveteli the ability to ssh to your server. Either give them a password or, preferably, set up ssh keys for them so they can ssh from your local machine to the server: + * to give them a password (if they don't already have one) - `sudo passwd [UNIX-USER]`. Store this password securely on your local machine e.g in a password manager + * to set up ssh keys for them, follow the instructions in the [capistrano documentation](http://capistranorb.com/documentation/getting-started/authentication-and-authorisation/). There's no need to set up ssh keys to the git repository as it is public. +* make sure the Unix user that runs Alaveteli has write permissions on the parent directory of your Alaveteli app +* move the Alaveteli app to a temporary place on the server, like your home directory (temporarily, your site will be missing, until the deployment puts new files in place) |