From 481bccaa8debab232dc37c18a6d4b93cb669b1dd Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 1 Jul 2014 16:21:29 +0100 Subject: Add instructions for setting up authentication of deployment user --- docs/installing/deploy.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/installing') 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) -- cgit v1.2.3