docs(cli): add info about development on github codespaces (#6883)

* docs: add info about development on github codespaces

* docs: move from installation to cli

* docs: fix grammar

* Update cli.md

* add word

* Update cli.md

* Update cli.md

* format

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Begula 2022-03-10 08:52:21 +05:30 committed by GitHub
parent ff0d981853
commit 63caeb6073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -38,6 +38,7 @@ chedeau
cheng
clément
clsx
codespaces
codesandbox
contravariance
corejs

View file

@ -50,6 +50,16 @@ Please note that some functionality (for example, anchor links) will not work in
:::
:::info Development over network
When forwarding port 3000 from a remote server or VM (e.g. GitHub Codespaces), you can run the dev server on `0.0.0.0` to make it listen on the local IP.
```bash npm2yarn
npm run start -- --host 0.0.0.0
```
:::
#### Enabling HTTPS {#enabling-https}
There are multiple ways to obtain a certificate. We will use [mkcert](https://github.com/FiloSottile/mkcert) as an example.