Commit 9a0822bf authored by Aral Balkan's avatar Aral Balkan
Browse files

Updated the readme to change the order of the servers for installation and to...

Updated the readme to change the order of the servers for installation and to mention that installation order is relevant.
parent d65423b6
......@@ -30,12 +30,14 @@ Visit `http://localhost:3000` to see the updated site and *~/better.fyi/builder/
To run Better in production, you will need to set up three servers:
1. [Builder Server](#builder-server)
2. [Data Server](#data-server)
3. [Web Server](#web-server)
1. [Data Server](#data-server)
2. [Web Server](#web-server)
3. [Builder Server](#builder-server)
Each of the production servers has an automated installation script where you can also customise the installation based on your own domain, etc.
Please note that the order of installation is important. The Web Server requires a reference to the Data Server during installation and the Builder server requires references to both the Data Server and the Web Server. So install the Data Server first, then the Web Server, and, finally, the Builder Server, in that order.
**Important:** you do not need to set up a live production environment in order to test Better, develop on it, and develop new content for it. To carry out those tasks, simply install the builder locally using the `./install` script to set up a fully offline local environment that simulates the production environment described below. (You will need Internet access only during the installation process so that the installation script can clone the initial repositories from source.ind.ie.)
You only need to set up a production environment if you want to provide your own hosted version of Better. While this is possible, we encourage you to contribute to the main project whenever possible.
......@@ -48,16 +50,7 @@ Repeat the following steps for all three installations (to get a plain vanilla O
2. `ssh ubuntu@builder.yourdoma.in`
3. `sudo apt-get update && sudo apt-get install git`
### Builder Server
To set up your own version of *builder.better.fyi*:
0. Folow the instructions under [common steps](#common-steps), above.
1. `git clone git@source.ind.ie:better/builder-server-setup.git`
2. `cd builder-server-setup`
3. `./install`
### Data Server
### 1. Install the Data Server
To set up your own version of *data.better.fyi*:
......@@ -66,7 +59,7 @@ To set up your own version of *data.better.fyi*:
2. `cd data-server-setup`
3. `./install`
### Web Server
### 2. Install the Web Server
To set up your own version of *(www.)better.fyi*:
......@@ -75,3 +68,13 @@ To set up your own version of *(www.)better.fyi*:
2. `cd web-server-setup`
3. `./install`
### 3. Install the Builder Server
To set up your own version of *builder.better.fyi*:
0. Folow the instructions under [common steps](#common-steps), above.
1. `git clone git@source.ind.ie:better/builder-server-setup.git`
2. `cd builder-server-setup`
3. `./install`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment