-
Notifications
You must be signed in to change notification settings - Fork 19
Install
sudo apt-get install python-dev
http://www.tornadoweb.org/documentation#download
sudo apt-get install python-setuptools
sudo easy_install -U setuptools
sudo easy_install Mako sudo easy_install MongoKit sudo easy_install python-dateutil sudo easy_install pytz
download a copy of whirlwind from https://github.com/trendrr/whirlwind/ or alternately clone a copy of the git repo
tar -xzf trendrr-whirlwind-5c17ff8.tar.gz
cd whirlwind
sudo python setup.py install
For instructions on how to install whirlwind on windows, visit this page.
If you came to this page via the Quickstart tutorial, you should probably not continue with the instructions below. Return back to the QuickStart tutorial.
After running the setup script, cd into the directory where you wish to create your new application (for example, you could cd to your home directory).
whirlwind-admin.py --create-application myapp
This creates a new whirlwind application myapp in the current directory.
# generate a cookie secret (copy output to config/settings.py) whirlwind-admin.py --gcs
This prints a cookie secret to standard output. Copy this cookie secret and set the variable cookie_secret to the printed out cookie secret.
python main.py
Refer to our FAQ should you encounter any problems in installation.