Monday, September 5, 2011

GAE - Google App Engine - Part 2 - Development Environment

  1. Download the Google App Engine SDK
    1. Choices: Java, Python or Go?
    2. Perception from web search on this choice
      1. Python is easier, faster, more downloaded
  2. Choice: Python, give it a try, haven't used it previously
    1. Windows 1.5.3 - 2011-08-17 GoogleAppEngine-1.5.3.msi 17.1 MB 
       
  3. Install Google App Engine SDK for Python v 1.5.3 for Windows
    1. Requirements: Python 2.5.x, download from Python.org or ActiveState Python
    2. Python.org
      1. This site hosts the "traditional" implementation of Python (nicknamed CPython). A number of alternative implementations are available as well, namely
      2. Other parties have re-packaged Python. These re-packagings often include more libraries or are specialized for a particular application:
        1. ActiveState ActivePython (not open source)
      3. A comprehensive list of all released versions is available if you need source code for an older version of Python.
        1. Python 2.5.6 (May 26, 2011)
          1. This is a source-only release that only includes security fixes.

            Documentation

            The documentation has not been updated since the 2.5.4 release:
             
    3.  Compile Source only release on windows
      1. So try the .TGZ
        1. How to open? install 7-zip?
        2. http://www.7-zip.org/
          1. works
      2. Hmmm, how to compile source on windows?
      3. GAE supports 2.5.2
        1. http://code.google.com/appengine/docs/python/overview.html
          1. In addition to the Python standard library and the App Engine libraries, the runtime environment includes the following third-party libraries:
          2. Django 0.96.1
          3. WebOb 0.9
          4. PyYAML 3.05
      4. try again with 2.5.2
        1. not found in official list
          1. http://www.python.org/download/releases/
        2. varying information
          1. the official list does not have all of the releases and claims all contain excellent installers
          2. all of the 2.5.x official releases for download, are source only
            1. Python for Microsoft Windows (XP and later releases)

              Python releases include an excellent Windows installer. See the individual releases for details.
              You may also wish to download Win32all, Mark Hammond's add-on that includes the Win32 API, COM support, and Pythonwin extensions. It's available from the pywin32 project on SourceForge.
          3. Python... currently, Python 2.5.x is supported
            • 2.6+ is okay for development but only 2.5 runs on production servers
              • Don't write 2.6/2.7 specific code!
              • Python 3.x is not supported at this tim
            1. https://sites.google.com/site/gdevelopercodelabs/app-engine/python-codelab 
          4. Python 3 ?
            1. http://stackoverflow.com/questions/625042/what-will-be-the-upgrade-path-to-python-3-x-for-google-app-engine-applications
          5. ver 2.5.2 found through site search
            1. http://www.python.org/download/releases/2.5.2/
              1. 64-bit what kind of processor?
                1. itanium? is that specific or just non-amd?
                  1. it sounds like the x86-general compatibility is the correct selection:
                    1. http://superuser.com/questions/21819/is-my-i7-920-intell-processor-considered-ia64-or-x64
    4. install ver. 2.5.2 msi
      1. advanced options
        1. compile .py files to byte code after installation?
          1. http://www.mail-archive.com/modwsgi@googlegroups.com/msg02439.html
          2. some errors reported, will skip
            1. http://www.eggheadcafe.com/microsoft/Python/36218496/installation-problem-python-266-32bit-on-windows-7-32bit.aspx
      2. completed without error
    5. Second attempt: Install Google App Engine SDK for Python v 1.5.3 for Windows
      1.  Python 2.5 and all pre-requisites found
      2. C:\Program Files (x86)\Google\google_appengine\
      1.  view readme
      2. run launcher
        1. It appears to run
        2. Create new application, if i've already created it online?
          1. not sure, maybe doesn't matter, will find out soon




No comments:

Post a Comment