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/
