Commit 2f797651 authored by Christophe Siraut's avatar Christophe Siraut

Add setup file.

parent 8e35e542
Nuages - Easy poll sharing Nuages - Easy poll sharing
========================== ==========================
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
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
The project uses the following django application: Automated installation
- django-registration: https://bitbucket.org/ubernostrum/django-registration ======================
Using setuptools all dependencies will be installed:
On debian one can install it as follow: # python setup.py install
# aptitude install python-django-registration This can also be achieved in a virtualenv:
The project uses and provides the following javascripts: # virtualenv --system-site-packages env
- jquery, jquery-ui: http://www.jquery.com/ # source env/bin/activate
- jquery-dynamic-formset: http://code.google.com/p/django-dynamic-formset/ # python setup.py install
- jquery timepicker addon: https://github.com/trentrichardson/jQuery-Timepicker-Addon
Manual installation
===================
Install required dependencies and copy nuages to /usr/local/lib.
On debian one can install it as follow:
# aptitude install python-django python-django-registration
# pip install django-datetime-widget django-bootstrap-staticfiles
Local settings
==============
Use local_settings.py and local_urls.py to customize your installation when needed.
Translation Translation
=========== ===========
Create/update a translation file: Create/update a translation file:
# django-admin makemessages -l fr # django-admin makemessages -l fr
...@@ -32,7 +48,6 @@ Compile translated messages/update a translation file: ...@@ -32,7 +48,6 @@ Compile translated messages/update a translation file:
Dev installation Dev installation
================ ================
Install python-django package (>=1.3) Install python-django package (>=1.3)
Clone nuages archive somewhere in your home folder Clone nuages archive somewhere in your home folder
...@@ -55,7 +70,6 @@ You should have the application running at http://127.0.0.1:8000 ...@@ -55,7 +70,6 @@ You should have the application running at http://127.0.0.1:8000
Apache installation Apache installation
=================== ===================
Install python-django package (>=1.3) Install python-django package (>=1.3)
Copy nuages to /usr/local/lib/nuages Copy nuages to /usr/local/lib/nuages
...@@ -96,7 +110,6 @@ Set domain name: Point your browser to /admin/sites/site/1/ and modify the entry ...@@ -96,7 +110,6 @@ Set domain name: Point your browser to /admin/sites/site/1/ and modify the entry
Testing Testing
======= =======
In order to test Nuages, you need the following dependencies: In order to test Nuages, you need the following dependencies:
webtest webtest
...@@ -115,7 +128,6 @@ You can now validate your modifications with: ...@@ -115,7 +128,6 @@ You can now validate your modifications with:
Email Service Email Service
============= =============
Django is expecting a working SMTP server listening at localhost, sendmail for instance. 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 Another option is to add attributes in local_settings.py, so django can connect to an external server
...@@ -130,14 +142,12 @@ Another option is to add attributes in local_settings.py, so django can connect ...@@ -130,14 +142,12 @@ Another option is to add attributes in local_settings.py, so django can connect
Update Update
====== ======
In order to update your nuages installation: In order to update your nuages installation:
# make update # make update
Migration 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.
# mkdir fixtures # mkdir fixtures
......
#!/usr/bin/env python
from setuptools import setup
setup(name='nuages',
version='0.1',
description='Nuages web applications',
author='Christophe Siraut',
author_email='d@tobald.eu.org',
url='http://nuages.domainepublic.net/nuages/',
packages=[
'nuages',
'nuages_base',
'meetingpoll',
'registration_templates'],
install_requires=[
'django',
'django-registration',
'django-datetime-widget',
'django-bootstrap-staticfiles'],
license='GPL',
long_description=open('README').read(),
classifiers=['Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License\
(GPL) License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Utilities'],
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment