Welcome to YLOAN.COM
yloan.com » Motors » Your first Hello World App Engine Application in 5 mins
Sportboats Motors Recreation Sports Baseball Cycling Fishing Football Golf Martial-Arts Running Soccer Swimming Tennis Basketball Volleyball Squash Badminton racing Bowling Climbing Dance Gymnastics Handball Skiing

Your first Hello World App Engine Application in 5 mins

Your first Hello World App Engine Application in 5 mins


Moving with our series on getting started with Google App Engine in this article we will talk about getting your first Hello World Application running and deployed on the App Engine. We will use python for this example and if you are already well versed in python you can skip the basics and move directly to the deployment steps for App Engine.

For more details check TheTechTrendz Blog

Step 1: Download and install the Google App Engine SDK for Python


Here is the link for the windows version.

Step 2: Create a simple helloworld python program

Create a directory named as helloworld

Create a file in this directory as helloworld.py which contains the code below

print 'Content-Type: text/plain'

print ''

print 'Hello, world!'

Create a configuration file called app.yaml in the directory with the following

application: mytestapphelloworld

version: 1

runtime: python

api_version: 1

handlers:

- url: /.*

script: helloworld.py

Step 3: Run the Hello World Application using Google App Launcher

Click on Programs Menu and start Google App Launcher

Click onFile Menu -> Add Existing Application

Add the HelloWorld directory as the application

Click Run to start the application and click on Browse to open the web page on the browser

You can also check http://localhost:8080/ to check the live running application

Step 4: Deploy your app on App Engine

Go to the App Engine url at https://appengine.google.com/

Login using your App Engine account that you had created from our earlier exercise

Create a new application by clicking on Create Application button

Use mytestapphelloworld as the application ID. If this is not available use a unique ID that you can remember

Update the app.yaml file with your application ID from above

Change the line below and replace mytestapphelloworld to your application ID.

application: mytestapphelloworld

Run the following command

appcfg.py update helloworld/

Enter your Google ID/password at the prompt.

Your deployed application is available at

http://mytestapphelloworld.appspot.com
All You Need To Know About Car Dealership Services What Are The Best Golf Drivers? Do You Need To Ship Cars To Europe? Watch Saint Louis Billikens vs Duke Blue Devils Online Live 2010 Broadcast Choosing A Car Dealer In Los Angeles And Orange County Title Car Loans: A Look At How Much Money Is Really Available Is Ashford.Com Legitimate 5 Things To Overcome The Tough Parts Of Blogging.-Top Ranking on Search Engines Ways to Get Effective Vehicle Paint Protection The GPS Car Tracking Units Avalanche beat Thrashers 4-2 to end road skid Natural Acne Treatment for Scars How to Get the Best car Sound System
print
www.yloan.com guest:  register | login | search IP(216.73.216.26) California / Anaheim Processed in 0.017327 second(s), 7 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 74 , 2424, 41,
Your first Hello World App Engine Application in 5 mins Anaheim