From d4c980c98038f407787b6bbeebf03f81ee6c6990 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 21 Dec 2019 19:13:07 +0700 Subject: [PATCH] Add notes about server --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 94e802a..017ea39 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,27 @@ $ make dev-serve ### Deploy the site +You can add the following to your SSH configuration: + +``` +Host voicegardens.org + Hostname voicegardens.org + User voicegardens + Port 12345 + IdentityFile ~/.ssh/my-ssh-secret-key-file +``` + +(Where you should replace "my-ssh-secret-key-file" with the real filename.) + +Make sure you can SSH into the server. + +```bash +$ ssh voicegardens.org +$ sudo -i # you have root access too +``` + +Then it's possible to deploy the site with the following targets. + ```bash $ make test-deploy # https://doesitsparkjoy.voicegardens.org $ make prod-deploy # https://voicegardens.org