Proxy Settings for Bower, Activator and Nodejs on Windows

1. Bower
– create a file .bowerrc in C:\Users\userId directory.
– content example

{
	"proxy":"http://user:pass@host:portId",
	"https-proxy":"http://user:pass@host:portId"
}

2. Activator
– create a file c:\Users\userId\.activator\activatorconfig.txt
– conent example

# This are the proxy settings we use for activator
-Dhttp.proxyHost=proxy-host
-Dhttp.proxyPort=port
# Here we configure the hosts which should not go through the proxy.  You should include your private network, if applicable.
-Dhttp.nonProxyHosts="localhost|127.0.0.1"
# These are commented out, but if you need to use authentication for your proxy, please fill these out.
-Dhttp.proxyUser=username
-Dhttp.proxyPassword=pass

3. Nodejs
– create a file c:\Users\userId\.npmrc
– context example

proxy=http://userId:pass@host:portNumber
Advertisements
This entry was posted in Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s