Saturday, October 1, 2011

Implementing application on App Engine server

I have explained you about the source code in my previous posts. Now I will explain you how to run this in local machine and how to upload to appengine.

We need to keep the google_appengine folder and our teenyurl folder in same directory. After that we need to run the following command in order to run the application in our localhost.

google_appengine/ teenyurl/

We can now open the browser and type the localhost address to view the application. If you want to make the application online, you need to first register for a free available domain name. Then you can upload the project by typing the code given below,

google_appengine/ update teenyurl/

This will ask your gmail address to which the Google appengine domain name is associated. You need to enter your Google account password also. After that it will be deployed on appengine server. Now you can type the url of your application in the browser to access the application. My application’s url is 

If you want to upload an updated version, then change the version number in app.yaml file from 1 to 2. Then 2 versions will be available in the appengine dashboard. You need to change the default version to 2 in order to see the updated version. Versions tab will help you to manage the various versions. You can also see the various versions by prefixing version number on appspot url. Like below,

Dashboard will show you the daily quotas. Datastore viewer will help you to view the data by querying.

I feel nice to work with Google’s apengine service and thinking about developing other appengine applications also. You can host upto 10 applications using your one Google account. Explore the world of appspot projects and get inspired from those applications.
Let’s do an appengine project dude!!!



No comments:

Post a Comment

Comments with advertisement links will not be published. Thank you.