-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathINSTALL
43 lines (30 loc) · 1.03 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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 [config/settings.py]
generate a cookie secret (copy output to config/settings.py)
whirlwind-admin.py --gcs
### to start app
python main.py