Skip to content

Commit e01ee64

Browse files
committed
split install/setup from runtime instructions
1 parent 2845b41 commit e01ee64

File tree

1 file changed

+6
-2
lines changed
  • develop-docs/development/environment

1 file changed

+6
-2
lines changed

develop-docs/development/environment/index.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,21 @@ Please refer to [Frontend Development Server](/frontend/development-server/) and
5959

6060
You may wish to run the development server over a secure HTTPS connection. This can be done by generating & installing local certificates and running a reverse proxy.
6161

62-
We will be using [mkcert](https://github.com/FiloSottile/mkcert) to create and install a locally-trusted, development certificate and [Caddy](https://caddyserver.com/) as our reverse proxy. The following will install `mkcert` and `caddy` and then create and install the local certificates, and run the server.
62+
First we will use [mkcert](https://github.com/FiloSottile/mkcert) to create and install a locally-trusted, development certificate and [Caddy](https://caddyserver.com/) as our reverse proxy.
6363

6464
```shell
6565
brew install mkcert
6666
brew install nss # if you use Firefox
6767
brew install caddy
6868
yarn mkcert-localhost
69+
```
70+
71+
Then we will run the reverse proxy as needed:
72+
```shell
6973
yarn https-proxy
7074
```
7175

72-
Now you can visit the dev server using `https` at port `:8003` instead of over `http` at `:8000`.
76+
After the server is running we can visit the dev server using `https` at port `:8003` instead of over `http` at `:8000`.
7377

7478
<Alert title="HTTP Strict-Transport-Security" level="info">
7579
You might get into a situation where [HSTS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) is enabled for your domain and you're unable to visit using `http` anymore.

0 commit comments

Comments
 (0)