Google Apps

Google Apps Tutorial

This project is optional and extra credit

Objectives

Become familiar with using the Google app engine to build a simple web application.

Description

  1. Install Python 2.5. Google Apps only works with Python 2.5, not Python 2.6, so follow these simple steps:
    1. Download the Python 2.5 installer for your platform from the Python homepage. Installing it side-by-side with Python 2.6 should be just fine, but the 2.5 installer might modify some shortcuts to use 2.5 by default. On windows the ones that change are the "Open" and "Edit with IDLE" commands. If you know how to edit these commands from the Windows File Explorer - Tools - Folder Options, then just edit the paths so that any occurrence of directory name "Python25" is changed back to "Python26". Otherwise you can just re-install Python 2.6 after 2.5 again and the 2.6 installer will correct all your shortcuts leaving 2.5 still useable for this assignment.
    2. After you have installed the Google App Engine, you must make sure it will only use Python 2.5. In the Google App Engine Launcher GUI go to Edit - Preferences, and make sure PythonPath is set to C:\Python25\pythonw.exe if you're running windows. If you're not running windows then whatever PythonPath in the App launcher is set to will be what you want with one modification that anywhere you see 26 or 2.6 you change it to 25 or 2.5 respectively. (N.B. PythonPath in the App Launcher only controls the App Launcher - it is not the same thing as your operating system level environment variable called PYTHONPATH.)
  2. Read What is Google App Engine
  3. Read App Engine Python Overview
  4. Do the Getting Started Python Tutorial which includes installing the Google App Engine and building a helloworld web-application. I recommend you do not do the last stage "Uploading Your Application" unless you want to burn one of the 10 deployments you get for free with your Google account.
  5. Play with the tools provided in the Google App Engine Launcher GUI. In partiuclar use the SDK Console to delete records from your local development datastore.
  6. Extra Credit: Customize your helloworld web-application in some cool way that's up to you before you turn it in.
  7. Turnin your entire helloworld directory.

Grading Criteria

I will check the files in your helloworld directory to make sure you followed the tutorial properly and evaluate any cool customizations you did for extra credit.

Submission Checklist

  • helloworld directory