Skip to content

Latest commit

 

History

History
65 lines (56 loc) · 1.05 KB

README.md

File metadata and controls

65 lines (56 loc) · 1.05 KB

Developing while under a proxy

Node JS / NPM

Setting

$ npm config set proxy http://proxy.company.com:8080
$ npm config set https-proxy http://proxy.company.com:8080

Removing

$ npm config delete proxy
$ npm config delete https-proxy

Ruby

Quick Use

$ gem install --http-proxy http://proxy.company.com:8080

Setting

$ export http_proxy="http://example.proxy_name.com:80"
$ export ALL_PROXY="http://example.proxy_name.com:80"

Removing

$ unset http_proxy
$ unset ALL_PROXY

Git

Setting

$ git config --global http.proxy http://proxy.company.com:8080

Removing

$ git config --unset --global http.proxy

Curl

One Time Use

$ curl -x http://proxy.ccsd.net:8080 <command>

Setting (Add to ~/.curlrc)

proxy = example.proxy_name.com:80

Removing (Delete this line from ~/.curlrc)

proxy = example.proxy_name:80

##Bower (Add to bower.json)

"search": [
    "http://localhost:8000",
    "https://bower.herokuapp.com"
  ]