How to install Google appengine?

Install Google App Engine

Extract the zipped file either use the context menu to extract files into a folder. After you finish extracting, you will get a folder google_appengine which has all the necessary files to develop application. To complete the installation and to able to run Google App Engine, we must specify its path definition. You can specify the PATH definition in the terminal only using

export PATH=$PATH:/home/your_user_name/Desktop/google_appengine/

But path specified using export command is valid as long as you are inside the current terminal window. That means as soon as you close the window, the path specified becomes invalid. To specify the path in the system, you have to edit

/home/your_user_name/.profile

and specify the path there.

All set & done, now you have the shiny Google App Engine up & running its time to do the real job. Let us make an ‘Hello World’ application for Google App Engine, using you own Linux Box – excited ? To start using app engine, you have to register an application at

http://appspot.com

That requires your usual Google Account’s credentials and the environment is ready to be used instantly.

this tutorial describes how to develop and deploy a simple Python 2.7 project with Google App Engine.

https://developers.google.com/appengine/docs/python/gettingstartedpython27/


Here are the steps I followed to get GAE 1.7.1 working on Ubuntu 12.04.

  • open a terminal Ctr-t and make sure you are in the home directory.
  • create a project folder. (I used google_projects)
  • cd into the project folder
  • download GAE 1.7.1
  • unzip the file
  • delete the zip. (optional)

Here are the terminal commands for the steps above:

    cd ~
    mkdir google_projects
    cd google_projects
    wget -O gae.zip https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.6.zip
    unzip gae.zip
    rm gae.zip

Now its time to create the project and start the development server.

    cp -r google_appengine/new_project_template testapp
    python google_appengine/dev_appserver.py testapp

The first line simply copies and renames the new_project_template folder into google_proects as testapp. The last line starts the development server. You can stop it with Ctr-C.

With the development server up and running you can view testapp at localhost:8080. You should see "Hello world!".

If you get stuck I have written a tutorial that covers these steps in more detail. All the best.


You can install the App Engine Python SDK with appengine.py, a Python script that automates download and installation.

If you don't have pip installed, install it using the following command:

sudo apt-get install python-pip

Then, install the script:

sudo pip install appengine

Then install a given VERSION of the SDK:

appengine.py [--prefix=/path/where/to/install] VERSION

I know it's an old question, but official way to install it is..

from https://cloud.google.com/sdk/

  1. exec curl https://sdk.cloud.google.com | bash

  2. restart shell

  3. maximize your shell and exec gcloud components list

  4. install required components with gcloud components update

    In my case: gcloud components update gae-go app

  5. "appcfg.py" is on your path.

Worked for me on

  • Os: Ubuntu 14.04.2
  • Date: 2015/06/16