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
The project uses the following django applications:
- django-registration
- django-datetime-widget
- django-bootstrap-staticfiles
...
...
@@ -23,7 +29,7 @@ Manual installation
===================
Install required dependencies and copy nuages to /usr/local/lib.
On debian one can install it as follow:
On debian and derivatives one can install it as follow:
You can have local customizations in the local_settings.py file. Optionally set DEBUG option to False.
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.
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::
<VirtualHost *:80>
...
...
@@ -102,7 +108,7 @@ There are several ways to configure Apache and python, we recommend wsgi, simply
</VirtualHost>
Build database, collect static files and set permissions:
Build database, collect static files and set permissions::
# make update
...
...
@@ -110,19 +116,19 @@ Set domain name: Point your browser to /admin/sites/site/1/ and modify the entry
Testing
=======
In order to test Nuages, you need the following dependencies:
In order to test Nuages, you need the following dependencies::
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:
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::
# Email attributes
EMAIL_HOST = 'mail.example.com'
...
...
@@ -142,13 +147,13 @@ Another option is to add attributes in local_settings.py, so django can connect
Update
======
In order to update your nuages installation:
In order to update your nuages installation::
# make update
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 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::