Nuages 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 nuages @lists.domainepublic.net
''Easy poll sharing''
A collaborative meeting poll system, similar to doodle or rdvz. This application was named after Django's famous song and because computer work is easier when its cloudy. It is build in python, using the django framework and a little of javascript.
Feedback and collaboration are welcome at nuages@lists.domainepublic.net. (Inscription to the mailing list is recommended before posting) We have a project page at projets.domainepublic.net.
Get Nuages:: git clone http://git.domainepublic.net/git/nuages.git
There are several ways to configure Apache and python, we use wsgi by default. After installing the package, two example configuration are available in /etc/apache2/sites-available. (Note if you use Apache < 1.4, you need to remove the "require" directive)
You can have local customizations in the local_settings.py file. (Optionally set DEBUG option to False)::
# vi /usr/local/lib/nuages/nuages/local_settings.py
There are several ways to configure Apache and python, we recommend wsgi, simply install libapache2-mod-wsgi, and add the following to /etc/apache2/sites-available/nuages, replacing ServerName accordingly::
Django is expecting a working SMTP server listening at localhost, sendmail for instance.
Another option is to add attributes in local_settings.py, so django can connect to an external server for the mail delivery. To enable this, we only have to add these lines::
...
...
@@ -156,20 +94,43 @@ Another option is to add attributes in local_settings.py, so django can connect
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = False
Update
======
In order to update your nuages installation::
Contributing
============
Patches are welcom: please send us a mail or join Domaine Public irc to let us know your propositions.
Testing
-------
Please validate your modifications with::
# make test
Translations
------------
Nuages is avalable in many languages. If you have a little time and want help translate Nuages in your language, your help is welcome. You can translate the following file to your language, and present it on the mailing list::
Compile translated messages/update a translation file::
# make translation
# make update
Migrations
==========
Migrations are handled automatically through South.
Migration
=========
When models change, we need to perform some manual steps to keep existing data. The following example backups all databases to json files, and resets only the poll table::
When migrating from a Nuages version < 0.20140730, one need to manually do::
# mkdir fixtures
# APPS="account auth meetingpoll poll"
# for APP in $APPS; do ./manage.py dumpdata $APP --indent=2 > fixtures/$APP.json; done
# git pull
# ./manage.py flush poll
# ./manage.py loaddata fixtures/*.json
# copy old database (/usr/local/lib/nuages.sqlite) to /var/lib/nuages/db.sqlite