Installing Google App Engine

Google App Engine (GAE) enables you to build web applications in the Google cloud. Since 2012, there is official support for NumPy; you need to have a Google account to use GAE.

How to do it...

The first step is to download GAE.

  1. Download GAE.

    Download GAE for your operating system from https://developers.google.com/appengine/downloads.

    From this page, you can download documentation and the GAE Eclipse plugin as well. If you are developing with Eclipse, you should definitely install it.

  2. The development environment.

    GAE comes with a development environment, which simulates the production cloud. GAE, at the time of writing, only supported officially Python 2.5 and 2.7. GAE will try to find Python on your system; however, it may be necessary to set that yourself, for instance, if you have multiple Python versions. You can set this setting in the Preferences dialog of the launcher application.

    There are two important scripts in the SDK:

    • dev_appserver.py: Development server
    • appcfg.py: Deploys to the cloud

    On Windows and Mac, there is a GAE launcher application. The launcher has Run and Deploy buttons that do the same as the aforementioned scripts:

    How to do it...
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset