Skip to content
mdennebaum edited this page Jan 12, 2011 · 14 revisions

Setup instructions:

On Ubuntu (recommended)

install python dev

sudo apt-get install python-dev

install tornado, follow instructions on:

http://www.tornadoweb.org/documentation#download

install the python setup tools

sudo apt-get install python-setuptools

upgrade setuptools

sudo easy_install -U setuptools

install required python modules

sudo easy_install Mako

sudo easy_install MongoKit

sudo easy_install python-dateutil

sudo easy_install pytz

install whirlwind

download a copy of whirlwind from https://github.com/trendrr/whirlwind/ or alternately clone a copy of the git repo

untar/unzip archive

tar -xzf trendrr-whirlwind-5c17ff8.tar.gz

change to whirlwind directory

cd whirlwind

run the setup script

sudo python setup.py install

to create a whirlwind app

whirlwind-admin.py --create-application myapp

fill in env specific settings in settings file [myapp/config/settings.py]

generate a cookie secret

whirlwind-admin.py --gcs

copy new cookie secret to config/settings.py

to start app

python main.py

Clone this wiki locally