From f13a83cc3a9e5aa4fa0a21c2f7fa305e0ce9ba67 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Tue, 25 Feb 2014 01:19:12 -0800 Subject: [PATCH] clean up DO guide a bit more --- docs/INSTALL-digital-ocean.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/INSTALL-digital-ocean.md b/docs/INSTALL-digital-ocean.md index a1b41868dd7..e62d3657fb5 100644 --- a/docs/INSTALL-digital-ocean.md +++ b/docs/INSTALL-digital-ocean.md @@ -1,6 +1,6 @@ -The [Discourse Docker Image][dd] makes it easy to set up Discourse on a cloud server. In this guide I'll assume that you are using [Digital Ocean][do], although these steps will work on other similar services. +The [Discourse Docker Image][dd] makes it easy to set up Discourse on a cloud server. We will use [Digital Ocean][do], although these steps will work on other similar services. -The below guide assumes that you have no knowledge of Ruby/Rails or Linux shell, so it will be detailed. Feel free to skip steps you are comfortable with. +This guide assumes that you have no knowledge of Ruby/Rails or Linux shell. Feel free to skip steps you are comfortable with. # Create New Digital Ocean Droplet @@ -26,7 +26,7 @@ Replace `192.168.1.1` with the IP address of your Droplet. -It will ask your permission to connect, type `yes`, then it will ask for the root password, which is in the email Digital Ocean sent you when the Droplet was set up. Enter it. +You will be asked for permission to connect, type `yes`, then the root password, which is in the email Digital Ocean sent you when the Droplet was set up. Enter it. @@ -38,7 +38,7 @@ It will ask your permission to connect, type `yes`, then it will ask for the roo # Generate SSH Key -**We highly recommend setting a SSH key, because you may need to access the Rails console for debugging purposes. This is only possible if you have SSH access preconfigured. This cannot be done after bootstrapping the app.** +**We strongly recommend setting a SSH key because you may need to access the Rails console for debugging purposes. This cannot be done after bootstrapping the app.** ssh-keygen -t rsa -C "your_email@example.com" @@ -57,12 +57,10 @@ Reboot the server: -This will log you out from your SSH session, so SSH in again: +This will log you out from your SSH session, so reconnect: ssh root@192.168.1.1 -Replace `192.168.1.1` with the IP address you got from Digital Ocean. - Finish installing Docker: sudo wget -qO- https://get.docker.io/ | sh @@ -79,7 +77,7 @@ Clone the [Official Discourse Docker Image][dd] into this `/var/docker` folder: git clone https://github.com/SamSaffron/discourse_docker.git /var/docker -Switch to your Docker directory: +Switch to your Docker folder: cd /var/docker @@ -101,7 +99,7 @@ Edit as desired, but at minimum set `DISCOURSE_DEVELOPER_EMAILS` and `DISCOURSE_ -I renamed `DISCOURSE_HOSTNAME` to `discourse.techapj.com`, this means that I want to host my instance of Discourse on `http://discourse.techapj.com/`. You'll need to modify your DNS records to reflect the IP address and preferred domain name of your server. +I renamed `DISCOURSE_HOSTNAME` to `discourse.techapj.com`, this means that I want to host my instance of Discourse on `http://discourse.techapj.com/`. You'll need to modify your DNS records to reflect the IP address and preferred URL address of your server. # Mail Setup