File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ def __init__(self):
8484 cookie_file = os .path .expanduser ('~/.deis/cookies.txt' )
8585 cookie_dir = os .path .dirname (cookie_file )
8686 self .cookies = MozillaCookieJar (cookie_file )
87+ self .proxies = {
88+ "http" : os .getenv ("http_proxy" ),
89+ "https" : os .getenv ("https_proxy" )
90+ }
8791 # Create the $HOME/.deis dir if it doesn't exist
8892 if not os .path .isdir (cookie_dir ):
8993 os .mkdir (cookie_dir , 0700 )
Original file line number Diff line number Diff line change @@ -34,6 +34,17 @@ You can also install the latest Deis client using Python's pip_ package manager:
3434
3535 $ deis
3636 Usage: deis <command> [<args>...]
37+
38+ Proxy Support
39+ -------------
40+
41+ Set your http and/or https environment variables to enable proxy support
42+
43+ .. code-block :: console
44+
45+ $ export http_proxy="http://proxyip:port"
46+ $ export https_proxy="http://proxyip:port"
47+
3748
3849 Integrated Help
3950---------------
You can’t perform that action at this time.
0 commit comments