如何通过socks5代理使用GCLOUD更新GAE应用程序 [英] how to update a GAE app with GCLOUD via socks5 proxy
问题描述
我在开发控制台中创建了我的GAE应用程序。我使用appcfg来更新它。
现在我在socks5代理之后,并且找不到设置appcfg的方法。
有人可以回复所有步骤吗?
可能会使用appcfg或gcloud工具
非常感谢您
通过设置 HTTP_PROXY
或 HTTPS_PROXY
环境变量,您可以在代理后使用accpcfg或gcloud。例如,在Windows上:
set HTTP_PROXY = http://cache.mycompany.com:3128
set HTTPS_PROXY = http://cache.mycompany.com:3128
和linux / osx上:
export http_proxy =http://cache.mycompany.com:3128
导出https_proxy =http://缓存.mycompany.com:3128
以下是关于此的一些文档:
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
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
这篇关于如何通过socks5代理使用GCLOUD更新GAE应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!