Skip to content

Commit

Permalink
Add documentation about using development server behind a proxy #603 (#…
Browse files Browse the repository at this point in the history
…688)

* Add documentation to launch development server behind a proxy #603

* Update getting-started-installation.md

* Update getting-started-installation.md
  • Loading branch information
sebelga authored and yangshun committed May 23, 2018
1 parent 2c74d93 commit d14d3c2
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions docs/getting-started-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ root-of-repo
│ ├── doc3.md
│ ├── exampledoc4.md
│ └── exampledoc5.md
── website
├── blog-examples-from-docusaurus
│ ├── 2016-03-11-blog-post.md
│ └── 2017-04-10-blog-post-two.md
├── core
│ └── Footer.js
├── node_modules
├── package.json
├── pages
├── sidebars.json
├── siteConfig.js
└── static
── website
├── blog-examples-from-docusaurus
│ ├── 2016-03-11-blog-post.md
│ └── 2017-04-10-blog-post-two.md
├── core
│ └── Footer.js
├── node_modules
├── package.json
├── pages
├── sidebars.json
├── siteConfig.js
└── static
```

Running the Docusaurus initialization script, `docusaurus-init`, produces a runnable, example website to base your site upon.
Expand All @@ -51,3 +51,12 @@ Running the Docusaurus initialization script, `docusaurus-init`, produces a runn
1. Load the example site at http://localhost:3000. You should see the example site loaded in your web browser.

![](/img/getting-started-preparation-verify.png)

### Launching the server behind a proxy

If you are behind a corporate proxy, you need to disable it for the development server requests. It can be done using the `NO_PROXY` environment variable.

```sh
SET NO_PROXY=localhost
yarn start (or npm run start)
```

0 comments on commit d14d3c2

Please sign in to comment.