[ Content | View menu ]

Upping the Ante for Django with epoll and magnum-py

Written on January 25, 2010

Want a faster, lighter, more scalable stack for deploying Django? Take a look at magnum-py to leverage epoll. Here’s all you need to do to reposture your Django site:

  1. download and untar magnum-py and django into /usr/src
  2. create a test django project, path everything up, and playdjango-admin.py startproject spike
    export DJANGO_SETTINGS_MODULE=spike.settings
    export PYTHONPATH=$PYTHONPATH:/usr/src:/usr/src/spike
    start|stop magnum-py: cd /usr/src/magnum; ./serve.py start|stop

SchweeeeeeEEEEEEEEtttttttttttt!

Filed in: Geek Stuff.

No Comments

Write comment - TrackBack - RSS Comments

Write comment