@@ -31,8 +31,8 @@ Compile translated messages/update a translation file:
# make translation
Fast installation
=================
Dev installation
================
Install python-django package (>=1.3)
Clone nuages archive somewhere in your home folder
...
...
@@ -65,25 +65,22 @@ Copy nuages to /usr/local/lib/nuages
You can have local customizations in the local_settings.py file. Optionally set DEBUG option to False.
# vi local_settings.py
Build nuages database
# cd /usr/local/lib/nuages
# ./manage.py syncdb
# ./manage.py collectstatic
# 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
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.
@@ -93,13 +90,11 @@ There are several ways to configure Apache and python, we recommend wsgi, simply
</VirtualHost>
Adapt the path in file apache/django.wsgi
Set permission for apache user
Build database, collect static files and set permissions:
sudo chown -R www-data /usr/local/lib/nuages
# make update
Set domain name: login to /admin/sites/site/1/ and modify the entry from "example.com" to your domain name.
Set domain name: Point your browser to /admin/sites/site/1/ and modify the entry from "example.com" to your domain name.
Email Service
=============
...
...
@@ -118,20 +113,19 @@ Another option is to add attributes in settings.py, this make email work only wh
Update
======
In order to update your nuages installation, you can issue:
In order to update your nuages installation:
# make update
Migration
=========
When models change, we need to perform some manual steps to keep existing data:
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.