From e4d65ebc7354c9c79f88b697bb289af82845ef9a Mon Sep 17 00:00:00 2001 From: Dashamir Hoxha Date: Fri, 10 Jul 2020 17:45:31 +0000 Subject: [PATCH] Add 'infrastructure/installing-discourse-plugin.md' --- infrastructure/installing-discourse-plugin.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 infrastructure/installing-discourse-plugin.md diff --git a/infrastructure/installing-discourse-plugin.md b/infrastructure/installing-discourse-plugin.md new file mode 100644 index 0000000..31f37dc --- /dev/null +++ b/infrastructure/installing-discourse-plugin.md @@ -0,0 +1,24 @@ +## Create a new discourse installation for testing + +1. Initialize a new discourse site: + + ```bash + ds init discourse @forum1.flossk.org + cd /var/ds/forum1.flossk.org/ + ``` + +2. Copy `settings.sh` from the original site, but change `DOMAIN` to the new one (`forum1.flossk.org`): + + ```bash + cp ../forum.flossk.org/settings.sh . + vim settings.sh + ``` + +3. Make the container: + + ```bash + cd /var/ds/forum1.flossk.org + ds make + ``` + + (It may take a few minutes.)