Installing and Running the Google App Engine On a Macintosh System

Similar documents
Homework #7 Google Cloud Platform

Creating a Custom TinyWebDB service

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

Meeting your new mac

Installing Lotus Notes 7 for a New User (Mac)

Installation Guide CSA Group Reader App for Windows Desktop

Read Naturally SE Update Windows Network Installation Instructions

How to Use Launch on a Desktop

Installing Firefox on Mac

Using Blackboard Drive to upload/manage content in Blackboard Learn

INSTALLING MICROSOFT OUTLOOK 2011

Computer Science AP 2017 Summer Assignment Mrs. McFarland

Quick Links on Google Apps. Information about ACC Google Apps and Mail can be found here at

OUTLOOK WEB APP (OWA): MAIL

Windows Download & Installation

School Installation Guide ELLIS Academic 5.2.6

VPN Installation Quick Setup Guide

Using Micro USB Cable (Mac)

Step 7 How to convert a YouTube Video to Music As I mentioned in the YouTube Introduction, you can convert a Video to a MP3 file using Free Video To

Mac OS X Part 3. The University of Utah Student Computing Labs Macintosh Support

Virtual Desktop Infrastructure Setup for Windows 10

ADOBE DRIVE 4.2 USER GUIDE

Step 6 How to download a YouTube Video that is not on your account. You have to have another program on your computer to that called ClipGrab.

SAM4S Receipt Printer JPOS Driver. Mac OS X Installation Manual

1 Setting Up Your Auto Login Link in Windows

Connecting to the Virtual Desktop Infrastructure (VDI)

Use the Apple menu to change settings, get Mac OS X software, open recent items, and restart or shut down your computer.

umapps Using umapps 6/14/2017 Brought to you by: umtech & The Center for Teaching & Learning

Lab 3-1 Lab Installing Kofax Capture 10

SealedMedia Unsealer. Installation Guide. For Macintosh

Downloading & Installing Audacity

Mouseless Internet Browsing for Open V/Vmax Devices

Read Me First! Start Here. Read Me First! Start Here.

Opening and Saving Files using Minitab in Remote Applications using Macintosh

Viewing Attachments in GroupWise on a Macintosh FAQ

North East Valley Division of General Practice Ltd WebDAV elocker Setup

Accessing Diagnostic Service Documentation for Non-Beckman Coulter Users

Purpose. Why use Java? Installing the Software. Java

Learning Ally s Link Quick start for Mac

Connecting Remotely Staff & Students

Citrix Desktop for Home Computers Mac OS Instructions

Plain Dealer e-edition Troubleshooting

How to Connect to the CSH Virtual Desktop

Office 365 Account Transition Resources. How-to: Create a Backup. Sync Library Folder in OneDrive for. Business

Training Bulletin TITLE: CHIP-CARD BROWSER RECOMMENDATIONS AUDIENCE: GENERAL MANAGERS, FRONT DESK STAFF DATE: DECEMBER 12. Intro

Sending, Composing and Addressing a New Message:

SQream Dashboard Version SQream Technologies

Remote Workspace. Nubo End User Guide. Version: 1.3 Date: June, Copyright 2017 by Nubo Inc. All rights reserved. Page 1

To install OpenOffice.org 3.0 on a Windows-based computer that meets the minimum system requirements, follow these steps:

Fairfield University Using Xythos for File Storage

1. Type in your account and password. If you have Windows, Mac, iphone, or Android, you can download corresponding applications here

UNIVERSITY OF MICHIGAN INFORMATICS Charles Severance. You will need Apple QuickTime installed to view this video.

NovoConnect B360. Wireless Presentation & Collaboration System. User Manual Version 0.98

Slide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto

MBNL UAD CITRIX FTP Solution

VIRTUALIZATION MANAGER ENTERPRISE EDITION GETTING STARTED GUIDE. Product: Virtual Iron Virtualization Manager Version: 4.2

Radiology Associates - Office Computer Set-Up Guide

Importing and exporting message scripts

Virtual Desktop Infrastructure Setup for Windows 7

Part One: Installing Adobe Digital Editions on Your Computer. 1. Go to

PhotoPDF User Guide. PhotoPDF. Photo to PDF Converter

Part 2 Uploading and Working with WebCT's File Manager and Student Management INDEX

Appserv Internal Desktop Access Mac OS Device with Safari Browser. Enter your Appserv username and password to sign in to the Website

System Requirements for Mac OS X Clients. Download View Client Package. **Take note: This guide is not a detailed step by step guide.

Adobe Creative Cloud Installation for MacOS

Remote Access Installation

1 BACKGROUND 2 SETTING UP THE HOME AND GOOGLE DRIVES THROUGH WEBSTORAGE. Using the Home Drive to Save from U5 Cloud Updated 8.31.

School-to-Home Connection Instructions

Aspera Connect User Guide

Tutorial Macromedia FlashPaper 2

Interlink Express Desktop Printing Service Installation Guide

Understanding the Dumper Program Google Application Engine University of Michigan Informatics

PISA 2018 COMPUTER-BASED SCHOOL QUESTIONNAIRE: PRINCIPAL S MANUAL

1. Open any browser (e.g. Internet Explorer, Firefox, Chrome or Safari) and go to

Causeway ECM Team Notifications. Online Help. Online Help Documentation. Production Release. February 2016

ADOBE EXPERIENCE MANAGER DAM CONNECTOR FOR ADOBE DRIVE CC: TECHNICAL NOTE

Downloading and editing signatures!

Lab 1: Amend Your Workflow

QUICK START GUIDE. Quick Start Guide. This will assist you to setup and distribute content to a StratosMedia Player device in 4 easy steps.

Windows quick start instructions Pg. 1. OS X quick start instructions Pg. 4. ios quick start instructions Pg. 6

SharePoint General Instructions

Secure Browser Installation Manual For Technology Coordinators

An Introduction to Box.com

Set up your computer to sync your OneDrive for Business files in Office 365

VDI Users Guide. Mac OS X

From using an External Harddrive, to a Google Cloud Drive; there is no one way to backup data.

Archivists Toolkit Internal Database

Generes and Associates. Desktop Setup Guide LANDTECH ONLINE

Code::Blocks Student Manual

COPYRIGHTED MATERIAL. Using Adobe Bridge. Lesson 1

HOW TO ACCESS IROQUOIS ONLINE

Obtaining Your Network Key. PIXMA MX882 Mac OS

In order to update you will have to uninstall the current version and install the newer version using the same procedure.

Ebrary User Guide. Downloading a Book: Reading ebrary books online: Accessing BookShelf: Using the Bookshelf:

Installation of fi-4110cu Scanner under Windows 2000

Click Here to Begin OS X. Welcome to the OS X Basics Learning Module.

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

Enter your Appserv username and password to sign in to the Website

WA1827 Cloud Programming Workshop. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Troubleshooting. Participants List Displays Multiple Entries for the Same User

Transcription:

Installing and Running the Google App Engine On a Macintosh System This document describes the installation of the Google App Engine Software Development Kit (SDK) on a Macintosh 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. Download and Install You can download the Google App Engine SDK by going to: http://code.google.com/appengine/downloads.html and downloading the appropriate install package. Download the Mac OS X installer it should automatically mount as a virtual drive. 1

Drag the GoogleAppEngineLauncher to the Applications folder on your hard drive. This will copy the Google App Engine and install it as an application on your system. Once this is done you can eject the virtual drive by pressing on the Eject button. Navigate to the /Applications folder on your main disk, find the AppEngineLauncher icon and launch it. You may need to scroll to the bottom of your screen to see the App Engine icon. Accept any dialog box that asks if it is OK to launch. 2

When the Engine launches for the first time, it asks if you want to make Command Links : Press OK this will allow us to run the App Engine from the command line later. You will have to type an administrator password to make the links. At this point, you can actually close the App Engine Launcher we will run the application from the Command Line Interface (Terminal) instead of using the Launcher user interface. Making your First Application Now you need to create a simple application. We could use the + option to have the launcher make us an application but instead we will do it by hand to get a better sense of what is going on. Make a folder for your Google App Engine applications. I am going to make the Folder on my Macintosh Desktop called apps the path to this folder is: /Users/csev/Desktop/apps And then make a sub- folder in within apps called ae-01-trivial the path to this folder would be: /Users/csev/Desktop/apps/ae-01-trivial 3

Create a file called app.yaml in the ae-01-trivial folder with the following contents: application: ae-01-trivial version: 1 runtime: python api_version: 1 handlers: - url: /.* script: index.py Note: If you are looking at a PDF copy of this book, please do not copy and paste these lines into your text editor you might end up with strange characters simply type them into your editor. Then create a file in the ae-01-trivial folder called index.py with three lines in it: print 'Content-Type: text/plain' print ' ' print 'Hello there Chuck' Then create a file in the ae-01-trivial folder called index.py with three lines in it: print 'Content-Type: text/plain' print ' ' print 'Hello there Chuck' Then start the GoogleAppEngineLauncher program that can be found under Applications. Use the File -> Add Existing Application command and navigate into the apps directory and select the ae-01-trivial folder. Once you have added the application, select it so that you can control the application using the launcher. 4

Once you have selected your application and press Run. After a few moments your application will start and the launcher will show a little green icon next to your application. Then press Browse to open a browser pointing at your application which is running at http://localhost:8080/ Paste http://localhost:8080 into your browser and you should see your application as follows: Just for fun, edit the index.py to change the name Chuck to your own name and press Refresh in the browser to verify your updates. Watching the Log You can watch the internal log of the actions that the web server is performing when you are interacting with your application in the browser. Select your application in the Launcher and press the Logs button to bring up a log window: 5

Each time you press Refresh in your browser you can see it retrieving the output with a GET request. Dealing With Errors With two files to edit, there are two general categories of errors that you may encounter. If you make a mistake on the app.yaml file, the App Engine will not start and your launcher will show a yellow icon near your application: To get more detail on what is going wrong, take a look at the log for the application: 6

In this instance the mistake is mis- indenting the last line in the app.yaml (line 8). If you make a syntax error in the index.py file, a Python trace back error will appear in your browser. The error you need to see is likely to be the last few lines of the output in this case I made a Python syntax error on line one of our one- line application. Reference: http://en.wikipedia.org/wiki/stack_trace When you make a mistake in the app.yaml file you must the fix the mistake and attempt to start the application again. If you make a mistake in a file like index.py, you can simply fix the file and press refresh in your browser there is no need to restart the server. Shutting Down the Server To shut down the server, use the Launcher, select your application and press the Stop button. This materials is Copyright All Rights Reserved Charles Severance Comments and questions to csev@umich.edu www.dr- chuck.com 7