From 2a238cc2d68f2a649dd5f0029158279ff87d2959 Mon Sep 17 00:00:00 2001 From: Chris Concannon <christopher.concannon@gmail.com> Date: Wed, 6 Feb 2019 13:25:18 -0800 Subject: [PATCH] update bash commands for HTTPS use in local env The environment variable HTTPS needs to be exported in order to be inherited in the environment for future commands that are called (i.e. npm start). See https://askubuntu.com/questions/205688/whats-the-difference-between-set-export-and-env-and-when-should-i-use-each for an explanation --- docusaurus/docs/using-https-in-development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/using-https-in-development.md b/docusaurus/docs/using-https-in-development.md index 207087153..3f855fb69 100644 --- a/docusaurus/docs/using-https-in-development.md +++ b/docusaurus/docs/using-https-in-development.md @@ -27,7 +27,7 @@ set HTTPS=true&&npm start ### Linux, macOS (Bash) ```bash -HTTPS=true npm start +export HTTPS=true&&npm start ``` Note that the server will use a self-signed certificate, so your web browser will almost definitely display a warning upon accessing the page. -- GitLab