You are on page 1of 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