Skip to content


Subversion checkout URL

You can clone with
Download ZIP
website for PyCon US
Pull request Compare This branch is 447 commits ahead, 496 commits behind eldarion:2013.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


PyCon US website by Eldarion

This repository stores the PyCon US website developed by Eldarion. This project is open source and the license can be found in LICENSE.


To get setup with pycon code you must have the follow installed:

  • Python 2.5+
  • virtualenv 1.4.7+
  • C compiler (for PIL)

Setting up environment

Create a virtual environment where pycon dependencies will live:

$ virtualenv --no-site-packages pycon
$ source pycon/bin/activate

Install pycon project dependencies:

(pycon)$ pip install -r requirements/project.txt

If you are setting up a production environment use requirements/production.txt instead.

Setting up the database

This will vary for production and development. By default the project is set up to run on a SQLite database. If you are setting up a production database see the Configuration section below for where to place settings and get the database running. Now you can run:

(pycon)$ python syncdb
(pycon)$ python loaddata fixtures/initial_{wakawaka,boxes}.json

The wakawaka fixtures will require a user to exist before being ran. During syncdb it is worth it to make a superuser account which can then be used for making other users staff/superusers after they sign up.

Running a web server

In development you should run:

(pycon)$ python runserver

@@@ TODO: not sure what will be used for deployment yet. This project comes with a deploy/pinax.wsgi which can be used with mod_wsgi and showcase how to setup the WSGI environment if another mechanism is chosen.

Sending mail/notification

All mail and some notification are queued in the database to be sent later. In a future version of Pinax this will made much more configurable. It is best to setup a cron job to run these two commands every minute:

(pycon)$ python send_mail
(pycon)$ python emit_notices

And this one every 10–20 minutes:

(pycon)$ python retry_deferred

More information can be found in Pinax deployment documentation.


You can create a file alongside to override any setting that may be environment/instance specific. This file is ignored in .gitignore.


If you find an issue with this code base you are welcome to e-mail us at

Something went wrong with that request. Please try again.