From 6bde3dc9fa9f4b5a3179d1d46ee2a745151e3fd1 Mon Sep 17 00:00:00 2001 From: Vague Rabbit Date: Tue, 9 Feb 2021 16:30:02 -0800 Subject: [PATCH] renamed file, updated README.md --- README.md | 18 ++++++++++++++++-- deploy-saleor.sh => deploy.sh | 0 2 files changed, 16 insertions(+), 2 deletions(-) rename deploy-saleor.sh => deploy.sh (100%) diff --git a/README.md b/README.md index 875c1dd..83a4d95 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,26 @@ git clone https://github.com/thewhiterabbit/Deploy_Saleor.git ``` -
  • With sudo, from the home directory, run the deploy-saleor.sh script first.
  • +
  • With sudo, from the home directory, run the deploy.sh script.
  • ``` -sudo bash Deploy_Saleor/deploy-saleor.sh +sudo bash Deploy_Saleor/deploy.sh +``` + +
  • Run certbot to setup SSL.
  • + +``` +sudo certbot --nginx -d your.domain +``` + +
  • Replace http with https in the following files:
  • + +``` +/var/www/your.domain/dashboard/index.html +/var/www/your.domain/dashboard/dashboard.randomstring.js ``` +Note: Substitute /dashboard/ with the URI you entered durring the setup script.

    Please report any errors as an issue so that they can be addressed.

    NOTE: If you have already installed & secured PostgreSQL you may get errors because the script may not be able to connect to `psql` and create the required database and user account.

    diff --git a/deploy-saleor.sh b/deploy.sh similarity index 100% rename from deploy-saleor.sh rename to deploy.sh