Cosmopolite

Client/server publish/subscribe and key/value storage for AppEngine

Cosmopolite Tutorial

AppEngine prerequisites

  1. Download and install the Python AppEngine SDK

Server-side setup

  1. Create an application in your SDK client
  2. Download cosmopolite via the links at left. Unpack it into a "cosmopolite" subdirectory of your local application
  3. Create an app.yaml file for your application.
  4. Add a cosmopolite include to your app.yaml file:
    includes:
    - cosmopolite
  5. Start the application in your SDK client

Test cosmopolite

  1. Access your local cosmopolite debug page (replace port if necessary): http://localhost:8080/cosmopolite/static/debug.html
  2. Subscribe to a subject "testsubject"
  3. Send a message to that subject; it should appear in the message list below