topleft

PureMVC

larger smaller reset larger Futurescale, Inc.
  • fixed-width
  • fluid-width
  • Home
  • About
  • Code
  • Docs
  • FAQ
  • Forums
  • News
  • Showcase
  • Contact
  • Jobs
topright
Demo_Python_GoogleAppEngine_Blog
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Browse Source

Context Navigation

  • Start Page
  • Index
  • History
  • Last Change

TracNav

  •  PureMVC Manifold...

  •  Contributors
  •  Repositories
  • Ports...

  •  ActionScript 2
  •  ActionScript 3
  •  C #
  •  ColdFusion
  •  Haxe
  •  Java
  •  JavaScript
  •  Objective C
  •  PHP
  • Python
  •  Ruby
  •  Propose a Port

TracNav

  •  Python Standard :  Blog...

  • Downloads
  • Installation
  • Release Notes
  •  View Source
  •  Discussion
  • Project Owner...

  •  Nathan Levesque

Demo - Google App Engine / Blog

This demo illustrates techniques for creating a simple blog in a PureMVC-based Python application using the Google App Engine.

Prerequisites

  • You must have  Python 2.5 installed.
  • You must have  Google App Engine installed.

Installing the Project Source Code

The source code in the project archive and the repository contain the latest PureMVC Framework for Python, so you don't have to download it separately to quickly test the demo.

  • From the archive
    • Download the latest source code archive.
    • Unzip the source code zip to the Google Apps installation directory (for instance: C:\Program Files\Google\google_appengine)
    • You will see a 'Blog' folder. (for instance: C:\Program Files\Google\google_appengine\Blog)
  • From the Repository
    • Use your  favorite SVN client to retrieve the latest source code release from the repository.

Running the Blog Demo with Google App Engine

  • Open a Command Prompt
  • Change to the Google App Engine install folder (i.e. C:\>cd C:\Program Files\Google\google_appengine )
  • Invoke the App Engine development server, pointing to the Blog/src folder: (i.e. C:\Program Files\Google\google_appengine>dev_appserver.py Blog/src

This launches a lightweight webserver on port 8080 (unless there's something already running there, in which case it'll pick another port, so pay attention to the output in the command window.

Then you just need to point your browser to this URL:  http://localhost:8080/

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.11.6
By Edgewall Software.

Powered by the Subversion, Trac & Bugzilla Hosting Experts, Codesion.com

Copyright © 2006-2008 Futurescale, Inc.