0% found this document useful (0 votes)
21 views

EXP3 Google App Engine

Google app engine installation

Uploaded by

nohedo7931
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

EXP3 Google App Engine

Google app engine installation

Uploaded by

nohedo7931
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

19

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):

1. Google App Engine 1.3.2 SDK (GoogleAppEngine_1.3.2.msi), or visit


http://code.google.com/intl/en/appengine/downloads.htmlfor downloading the latest Google
App Engine SDK. In this example, we uses the Google App Engine 1.3.1 SDK for illustration
(GoogleAppEngine_1.3.1.msi)
2. Python 2.5.4 (python-2.5.4.msi) or visit http://www.python.org/download/ for downloading
the latest Python.

Installation of Python 2.5.4

• Run the python-2.5.4.msi

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

Then there will be a customization of python, just install everything

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

Now you're ready to use the python.


23

Install Google App Engine SDK

Run the GoogleAppEngine_1.3.1.msi,

A welcome screen will be displayed showing that python 2.5 have been found. Press "Next >"

Then there will be a End-User License Agreement. Read carefully


24

Click "I accept the terms in the License Agreement", and press "Next >"

Now the installer is ready to start copying files, press "install"

You will notice that the installer is copying files


25

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,

you will see a warning screen:


26

Go to the "Preference" under the "Edit" pull-down menu

The "preference screen" will come up. Press the "Select" button on the right hand side of the Python Path.

Select the python path (in our case, it should be "c:\python25"


27

Choose the "pythonw.exe" file, and press "open"

You will go back to the preference screen. Press "OK"

Now, you have completed all the essential installation of Google App Engine SDK. Now, let's enjoy
programming!
28

4. Run locally Using Google App Engine (GAE)


The final step in this installation guide is to have a trial run of the “helloworld” application locally.

• Start the Google App Engine SDK,

• 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.

You might also like