mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-25 20:48:50 +02:00
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:
parent
ff0d981853
commit
63caeb6073
2 changed files with 11 additions and 0 deletions
|
@ -38,6 +38,7 @@ chedeau
|
||||||
cheng
|
cheng
|
||||||
clément
|
clément
|
||||||
clsx
|
clsx
|
||||||
|
codespaces
|
||||||
codesandbox
|
codesandbox
|
||||||
contravariance
|
contravariance
|
||||||
corejs
|
corejs
|
||||||
|
|
|
@ -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}
|
#### Enabling HTTPS {#enabling-https}
|
||||||
|
|
||||||
There are multiple ways to obtain a certificate. We will use [mkcert](https://github.com/FiloSottile/mkcert) as an example.
|
There are multiple ways to obtain a certificate. We will use [mkcert](https://github.com/FiloSottile/mkcert) as an example.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue