Installing a Web User Interface for Tycoon

Tycoon includes a web-based user interface. Currently, this only acts as a front end to a physical allocation auctioneer.

If you have not already done so, install a physical allocation auctioneer.

Note that this guide only a draft and is probably missing key steps.

1. disable selinux

2. yum -y install tycoon_web_app

3. Install easy_install

wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py 

4. Install Django

easy_install Django

5. Install Django apps that the web app requires

easy_install django_registration
easy_install django_profiles

6. Create the database

python /usr/lib/python2.4/site-packages/TycoonWebApp/manage.py syncdb

7. Create a "cirrus" user. The web application will be run as the "cirrus" user to maintain a segregated security domain.

adduser cirrus

8. Create a "~/.tycoon" directory for the cirrus user.

9. Make the database owned by the cirrus user.

chown -R cirrus.cirrus /var/lib/tycoon/web_app