Showing posts with label UDacity. Show all posts
Showing posts with label UDacity. Show all posts

Sunday, April 28, 2013

Installing and Building Web App with Google App Engine on Ubuntu (Hello World)


As part of the Udacity's web developement course, the problem set 1 required the online student to submit his/her first web app by using Goole app engine. Here are my step-by-step to make "hello word" (actually it is "hello udacity") application by using Google app engine (python version) on Ubuntu 12.04.

What is Google App Engine? From the Google definition, Google App Engine lets you run web applications on Google's infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow. With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users

Installation 

Step-by-step:
  1. Download the Google App Engine from http://code.google.com/appengine/downloads.html
  2. Install the Google App Engine, on Ubuntu:
  3. $ unzip google_appengine_1.7.7.zip 
    $ mv google_appengine ~
    
  4. Make path to our Goole App Engine, change the computer name with yours.
  5. export PATH=$PATH:/home/computer_name/google_appengine/
  6. Make the path permanently
  7. /home/computer_name/.profile
    Then, in .profile  once again input the path in step 3:
    export PATH=$PATH:/home/computer_name/google_appengine/

Writing the first App

Step-by-step: