From cac9c3ad3b248c6eed3b32ab3e1fe36abae7b2fe Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Dec 2018 11:33:34 +0100 Subject: [PATCH] Updates in install scripts --- README.md | 9 +++++++-- setup/functions | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 87d784ed..7fc803f6 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,17 @@ The recommended deployment of Mailtrain would use 3 DNS entries that all points ### Installation on fresh CentOS 7 (public website secured by SSL) This will setup a publicly accessible Mailtrain instance. All endpoints (trusted, sandbox, public) will provide both HTTP (on port 80) -and HTTPS (on port 443). The HTTP ports just issue HTTP redirect to their HTTPS counterparts. The script below will also acquire a -valid certificate from [Let's Encrypt](https://letsencrypt.org/). +and HTTPS (on port 443). The HTTP ports just issue HTTP redirect to their HTTPS counterparts. + +The script below will also acquire a valid certificate from [Let's Encrypt](https://letsencrypt.org/). +If you are hosting Mailtrain on AWS or some other cloud provider, make sure that **before** running the installation +script you allow inbound connection to ports 80 (HTTP) and 443 (HTTPS). **Note,** that this will automatically accept the Let's Encrypt's Terms of Service. Thus, by running this script below, you agree with the Let's Encrypt's Terms of Service (https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf). + + 1. Login as root ``` sudo -i diff --git a/setup/functions b/setup/functions index 3b21c71c..fa6a2497 100644 --- a/setup/functions +++ b/setup/functions @@ -92,7 +92,7 @@ EOT # Install required node packages for idx in client shared server zone-mta; do - (cd $idx && npm install) + (cd $idx && npm --unsafe-perm install) done (cd client && npm run build)