nuage - Easy poll sharing nuage aims to provide a collaborative meeting poll system, similar to doodle or rdvz. It is build in python, using the django framework and a little of javascript. This application was named after Django's famous song. Feedback and collaboration are welcome at nuage@ domainepublic.net Fast installation Install python-django package (<1.2) Extract the nuage archive somewhere in your home folder Edit project setings (optional) # vi settings.py Build nuage database # ./manage.py sql sondage # ./manage.py syncdb Start the python webserver # ./manage.py runserver You should have the application running at 127.0.0.1:8000 Apache installation Install python-django package (<1.2) Extract the archive somewhere in your home folder Move the "static" folder on tha apache side. Edit project setings, set DEBUG option to False, and change MEDIA_ROOT # vi settings.py Build nuage database # ./manage.py sql sondage # ./manage.py syncdb There are several ways to configure Apache and python, we try wsgi, simply install libapache2-mod-wsgi, and add the following to /etc/apache2/sites-available/nuage ServerName nuage.domainepublic.net Alias /static/ /var/www/nuage/static/ Alias /media/ /var/www/nuage/media/ WSGIScriptAlias / /home/chris/django/nuage/apache/django.wsgi Move the static files and link the media files mv static /var/www/nuage/ ln -s /usr/share/python-support/python-django/django/contrib/admin/media/ /var/www/nuage/ Fix permission for apache user sudo chown www-data nuage/nuage.sqlite sudo chown www-data nuage Installing lenny django package on squeeze Remove any installed python-django package (1.2) Install lenny python-django (1.0) Add the following to /etc/apt/preferences Package: python-django Pin: version 1.0* Pin-Priority: 1001 Build log django-admin startproject nuage cd nuage; BAZ=$(pwd) gedit settings.py urls.py ./manage.py startapp sondage cd sondage; gedit models.py forms.py views.py cd $BAZ; ./manage.py startapp userbase cd userbase; gedit views.py cd $BAZ; mkdir templates static # rm nuage.sqlite ; ./manage.py sql sondage ; ./manage.py syncdb