问题
i created my GAE app in development console. i use to update it using appcfg.
now i am behind a socks5 proxy, and couldnt find the way to set appcfg to go through.
can someone reply all the steps to do it please ? could be using appcfg or gcloud tools
thank you very much
回答1:
You can use accpcfg or gcloud behind a proxy by setting the HTTP_PROXY
or HTTPS_PROXY
environment variables. For example, on windows:
set HTTP_PROXY=http://cache.mycompany.com:3128
set HTTPS_PROXY=http://cache.mycompany.com:3128
and on linux/osx:
export http_proxy="http://cache.mycompany.com:3128"
export https_proxy="http://cache.mycompany.com:3128"
Here is some documentation about this:
https://cloud.google.com/appengine/docs/python/tools/uploadinganapp#Python_Using_an_HTTP_proxy
来源:https://stackoverflow.com/questions/31689863/how-to-update-a-gae-app-with-gcloud-via-socks5-proxy