how to update a GAE app with GCLOUD via socks5 proxy

别来无恙 提交于 2019-12-25 18:29:41

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!