Code Labs‎ > ‎

Development Environment Set Up

Please try to download what you are before attending. All the files needed for setting up your development environment are available on the G-Cameroon code labs development setup DVD upon arrival. The files have been grouped into three top-level directories (windows, linux and mac).

Python Setup

Install Python

App Engine supports Python 2.5.x, which should already be available on Mac OS X and linux.

Windows Installation

Run the Win32 .MSI file named python-2.5.4.msi located in the windows directory.

Install App Engine SDK 1.3.x (or newer) and Launcher for Python

Windows Installation

Run the .MSI file named GoogleAppEngine_1.3.4.msi located in the windowsdirectory.

Linux Installation

Unzip the file named google_appengine_1.3.4.zip located in the linux directory.

Mac Installation

Run the disk image file named GoogleAppEngineLauncher-1.3.4.dmg located in themac directory.

Java Setup

Install the Java SE Development Kit

If you already have JDK 5 or 6 installed on your machine, you can skip this step. To check what version of Java you have installed on your machine, run the following from a command prompt (for Windows, Command Prompt; for Mac OS X, Terminal; for Linux, Bash shell) If you have Java 6 installed, these commands will report a version number similar to 1.6.0. If you have Java 5 installed, the version number will be similar to 1.5.0.

java -version

javac -version

Windows Installation

Run the file named jdk-6u20-windows-i586.exe located in the windows directory.

Linux Installation

Execute the binary file named jdk-6u20-linux-i586.bin located in the linux directory.

Mac Installation

Apple typically supplies their own version of Java, which ships with their computers. If java is not installed on your Mac, execute the following images:
  • JavaForMacOSX10.4Release9.dmg located in the mac directory if your Mac OS X version is 10.4.x.
  • JavaForMacOSX10.5Update7.dmg located in the mac directory if your Mac OS X version is 10.5.x.
  • JavaForMacOSX10.6Update2.dmg located in the mac directory if your Mac OS X version is 10.6.x.

Install Eclipse

Windows Installation

Unzip the contents of the file named eclipse-jee-galileo-SR2-win32.zip located in thewindows directory into any directory on your machine.

To run Eclipse, run the file named eclipse.exe from the unzipped Eclipse file.

Linux Installation

Copy the file named eclipse-jee-galileo-SR2-linux-gtk.tar located in the linux directory into a directory on your machine.

Navigate to the directory containing the tar file and run the following command to unpack it: tar -xvf eclipse-jee-galileo-SR2-linux-gtk.tar. This creates a directory named eclipse.

Copy the eclipse directory to any directory of your choosing.

To run Eclipse, navigate to the eclipse directory and run the eclipse executable:./eclipse.

Mac Installation

Copy the file named eclipse-jee-galileo-SR2-macosx-carbon.tar located in the mac directory into a directory on your machine.

Navigate to the directory containing the tar file and run the following command to unpack it: tar -xvf eclipse-jee-galileo-SR2-linux-gtk.tar. This creates a directory named eclipse.

Copy the eclipse directory to any directory of your choosing.

To run Eclipse, navigate to the eclipse directory and run the eclipse executable: ./eclipse.

Install Google Eclipse Plugin

The plugin lets you create, test and upload App Engine applications from within Eclipse. It also makes it easy to develop applications using Google Web Toolkit (GWT), to run on App Engine or in any other environment. Go to installing the Google plugin for Eclipse.

Jabber/XMPP Instant Messaging Client Setup

One of the App Engine code lab exercises requires an instant messaging client that communicates via the Jabber/XMPP protocol.

Windows Installation

Run the executable file named pidgin-2.7.0.exe located in the windows directory to install Pidgin 2.7.

Mac Installation

Run disk image file named Adium_1.3.10.dmg located in the mac directory to install Adium 1.3.10.

Linux Installation

  • Go here to install Pidgin on CentOS / RHEL.
  • Go here to install Pidgin on Fedora.
  • Go here to install Pidgin on Ubuntu.

Comments