From 62cb36c9e0197d6f32273f1ebe6da88a22d37be9 Mon Sep 17 00:00:00 2001 From: Ashish Date: Wed, 16 Mar 2016 11:45:30 +0530 Subject: [PATCH] Add proxy notes to new README.dev.md troubleshooting section. [with some fixups by tabbott] --- .npmignore | 0 README.dev.md | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000000..e69de29bb2 diff --git a/README.dev.md b/README.dev.md index 50b6a620ec..6386946803 100644 --- a/README.dev.md +++ b/README.dev.md @@ -500,3 +500,22 @@ Possible testing issues ][lxc-sf]. [lxc-sf]: https://github.com/fgrehm/vagrant-lxc/wiki/FAQ#help-my-shared-folders-have-the-wrong-owner) + +Troubleshooting development environment setup +============================================= + +If you are building the development environment on a network where a +proxy is required to access the Internet, you will need to set the +proxy in the environment as follows: + +- On Ubuntu, set the proxy environment variables using: + ``` + export https_proxy=http://proxy_host:port + export http_proxy=http://proxy_host:port + ``` + +- And set the npm proxy and https-proxy using: + ``` + npm config set proxy http://proxy_host:port + npm config set https-proxy http://proxy_host:port + ```