From here.
“GoAgent” is a proxy tool which including the server side and the client side. The server side should be uploaded to the Google App Engine, the client side works in your local environment which accepts your requests and sends them to the server side you uploaded.
Server
Register to get a Google App ID from here.
Download the “Google App Engine SDK” from here, with which you can upload the “GoAgent” server side code to Google AppEngine.
Download the “GoAgent” binary from here.
Extract the GoAgent binary, modify the “app.yaml” file in the “#{goagent}/server/python” directory by filling your Google App ID.
Upload the GoAgent server side to AppEngine:
1 | cd /home/user/google_appengine # Go to the Google SDK directory. |
- Done.
Client
- Modify the “goagent/local/proxy.ini” file by adding your App ID:
1 | [gae] |
- Run the following command to start the client:
1 | cd goagent/local |
- Now you can use the proxy. If you want to use it in console, you may need to run the following command first:
1 | export http_proxy='http://localhost:8087' |