0% found this document useful (0 votes)
112 views6 pages

Step1: Install Python From Below Link

The document provides steps to install Google App Engine and create a simple "Hello World" web application using Python. It involves downloading Python, Google App Engine SDK, creating a test.py file with a Python script, an app.yaml file for configuration, and using the dev_appserver.py command to run the application locally.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views6 pages

Step1: Install Python From Below Link

The document provides steps to install Google App Engine and create a simple "Hello World" web application using Python. It involves downloading Python, Google App Engine SDK, creating a test.py file with a Python script, an app.yaml file for configuration, and using the dev_appserver.py command to run the application locally.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

INSTALL GOOGLE APP ENGINE.

CREATE HELLO WORLD APP AND OTHER


SIMPLE WEB APPLICATIONS USING PYTHON/JAVA

Step1: Install python from below link

https://www.python.org/downloads/

step2: Download Google app engine using below steps

https://cloud.google.com/appengine/docs

Step3: The above web page opens, from this select PYTHON language and select
STANDARD ENVIRONMENT.
Step 4: select QUICKSTART tab.

Step 5: In the next page select download SDK. Google cloud SDK will be downloaded.

Step6: click the downloaded SDK file and give run as administrator to install by proceeding
with next.

Step7: once SDK installed, Google cloud SDK shell will be opened.

Step8:Give yes to log in to continue.


Step 9: continue by signing in with your gmail account.

Step 10: close Google cloud shell console.

Step 11: create a folder named test on your desktop and create two text document and save
as test.py and app.yaml.

Include the python program on test.py file

test.py

import webapp2

class MainPage(webapp2.RequestHandler):

def get(self):
self.response.write('Hello, World!')

application = webapp2.WSGIApplication([
('/', MainPage),
], debug=True)

Include yaml content on app.yaml

app.yaml

runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /.*
script: test.application

step12: Type the below command and give enter


google-cloud-sdk\bin\dev_appserver.py C:\Users\Dell\Desktop\test

Step 13:copy the localhost address and paste it in browser


Step14: select default icon

You might also like