I have heard that Google + students have mentioned goAgent. I used Ubuntu as my daily operating system some days ago. So I will organize it and make a tutorial to archive it for myself, so that I can easily show it to other students. I will not go into details about how to apply for GAE.
Prerequisites:
1. get the python environment of Ubuntu, open the terminal input, sudo apt-get install python
2. Download The goAgent. you can install chrome's SwitchySharp plug-in along with https://raw.github.com/phus/phus-config/master/switchyoptions.bakand upload it to switchysharp.
3. Download GAE for linux and select the linux version.
1. server-side upload
1. Use GAE In ubuntu to upload the goAgent, put the goAgent in the googleappengine directory, and enter cd/home/yourusername/google_appengine on the terminal (the absolute path of googleappengine ).
2. There is an app. yaml file in the server Directory of your goAgent. Open it in a text editor and enter your gae id and version (1 by default). Save the file. 3. on the terminal, after cd/home/yourusername/google_appengine (your absolute path to google_appengine), enter sudo python appcfg. py update goAgent/server/python: enter your email address and password to upload the file.
Ii. Use of the Client
1. In the local directory of goAgent, there is a proxy. ini file that fills in your appid. 2. Enter your local directory, such as cd/home/yourusername/google_appengine/goAgent/local, and run sudo python proxy. py. Now you can use the above method to go through the Chrome browser using goAgent.
Iii. Use of shortcuts
Like me, a lot of commonly used software in linux often needs to input commands on the terminal, and it is very cumbersome to directly click to run through shortcuts.
The detailed method is as follows:
1. Create a shortcut: sudo gedit/usr/share/applications/goAgent. desktop
In the text editor, enter
Input in the editor
[Desktop Entry]
Name = goAgent
Comment = a proxy tool
Exec =/home/YourUserName/google_appengine/goAgent/local/proxy. py # absolute path of proxy. py #
Icon =/home/kafaafa/google_appengine/goAgent/local/goagent.png # absolute path of the Icon #
Terminal = true # run on a Terminal #
Type = Application
Categories = Application; Development; # Put It In the software-developer directory #
1. Now you need to run the shortcut in sudo superuser mode. Otherwise, the click will flash. You can also disable display on the Terminal. You only need to change Terminal = true to Terminal = false.
Sudo chmod 777/home/kafaafa/App/google_appengine/goAgent/local/proxy. py
Download, install, and configure Ubuntu 14.04
Ubuntu 14.04 system:
Ubuntu 14.04 text tutorial on hard drive installation in Windows 7