forked from ajdavis/chirp
-
Notifications
You must be signed in to change notification settings - Fork 0
pixelkaiser/chirp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A trivial Twitter clone. A set of example apps demonstrating asynchronous Python web frameworks with MongoDB. Installation ------------ git clone git://github.com/ajdavis/chirp.git cd chirp pip install -I -r chirp.reqs cd .. git clone [email protected]:ajdavis/asyncmongo.git cd asyncmongo git checkout getmore # my patch that allows tailable cursors cd .. git clone [email protected]:ajdavis/mongo-python-driver.git cd mongo-python-driver git checkout motor # my branch with Motor, a Tornado Mongo driver cd .. Usage ----- To run `sync`, the example of using PyMongo with Tornado: cd sync PYTHONPATH=../../mongo-python-driver python chirp_sync.py To run `async`, the example of using AsyncMongo with Tornado: cd async PYTHONPATH=../../asyncmongo python chirp_async.py To run `async_gen`, the example of using AsyncMongo with Tornado's generator interface: cd async_gen PYTHONPATH=../../asyncmongo python chirp_async_gen.py To run `gevent`, the example using PyMongo 2.2 with Gevent: cd gevent PYTHONPATH=../../mongo-python-driver python chirp_gevent.py
About
A minimal Twitter clone to demonstrate Tornado and MongoDB
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published