From 43a51e9d56744be12a20c72a04cea2f37ffa815d Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Wed, 18 Nov 2015 09:58:08 +0300 Subject: [PATCH] Resolving competence debt (#107) Describe our current server setup --- infra/README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/infra/README.md b/infra/README.md index a19c683..a649b37 100644 --- a/infra/README.md +++ b/infra/README.md @@ -1 +1,16 @@ -Supporting files for grtp.co infrastructure. +##### grtp.co server setup + +with root: + +1. create user `grtp` with `grtp.co` home +2. install nginx git + +with new grtp user; + +1. git clone https://github.com/gratipay/grtp.co.git production +2. cd production +... + +# setup automatic update +3. cp infra/post-receive .git/hooks/ +4. chmod +x .git/hooks/post-receive