EXP3 Google App Engine
EXP3 Google App Engine
3. Install Google App Engine. Create hello world app and other simple web
applications using python/java.
This document describes the installation of the Google App Engine Software Development Kit (SDK) on
Microsoft Windows and running a simple “hello world” application.
The App Engine SDK allows you to run Google App Engine Applications on your local computer. It simulates
the run--‐time environment of the Google App Engine infrastructure.
Pre--Requisites:
• Python 2.6+ - If you don't already have Python 2.5.4 installed in your computer, download and
Install Python 2.x from: https://www.python.org/downloads/release/python-270/
• Download and Install: You can download the Google App Engine SDK by going to:
http://code.google.com/appengine/downloads.html and download the appropriate python
install package.
• Download Google App Engine 1.3.7.
o https://google-app- engine.en.uptodown.com/windows/download
Download the Windows installer–the simplest thing is to download it to your Desktop or another folder
that you remember.
1. Installation of Python 2.5.4 (which is the appropriate version for the current Google App Engine)
2. Installation of Google App Engine SDK 1.3.7
20
In this installation guide, you should obtain the following programs (please be careful with the version of
the corresponding program, or you may be failed in running the future applications):
Then, a selection screen will come up asking you for target users. If you don't know, just select "Install for
all users"
21
After that, there will be a screen asking you the destination directory. If you don't have any idea, just
install it in default location c:\python25
You will notice that, now the python installer is copying and registering files.
22
Then you will come to the final screen that tells you having completed in the installation
A welcome screen will be displayed showing that python 2.5 have been found. Press "Next >"
Click "I accept the terms in the License Agreement", and press "Next >"
Then it comes to the "Finish" screen showing that the installation has been completed. Press "Finished"
Now you are ready to use the Google App Engine SDK. Before you start create any application, you should
first config the environment of Google App Engine SDK. In the current version 1.3.1, there is a bug that
the installer has forgotten to record the path for accessing Python. So, when you start the Google App
Engine SDK,
The "preference screen" will come up. Press the "Select" button on the right hand side of the Python Path.
Now, you have completed all the essential installation of Google App Engine SDK. Now, let's enjoy
programming!
28
• Click on the "helloworld" application, you will see the "Run" button is enabled. Press the "Run"
button
29
• When the application is trying to start up, you will see an orange "clock" icon appeared on the left
of the label of "helloworld", now wait until "clock" icon disappeared.
• Now a green "play" icon has been appearing on the left of the "helloworld" label, showing that
the application has been started successfully. You can press the "Browse" button to launch the
Internet Explorer directly.
30
• In the Internet Explorer, you will notice that the Address is http://localhost:8080/ meaning that
the application is run locally. In the content window of the Internet Explorer, you will see the
"Hello World!" message.