norrs / onlinepetition

Simple system for registering and validating people signing an online petition.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Online Petition

Build Status Coverage Status

Simple system for registering and validating people signing an online petition.

Install

  • Install virtualenv (on debian/ubuntu: apt-get install python-virtualenv )
  • virtualenv --no-site-packages /path/to/store/your/virtualenv/onlinepetition
  • source /path/to/virtualenv/onlinepetition/bin/activate
  • pip install Django
  • pip install South
  • pip install ipython

Initialize database first time

  • python manage.py syncdb
  • python manage.py createsuperuser (if syncdb didn't prompt you to create one)
  • python manage.py migrate

Update translation strings:

  • Add or change translatable strings in template or python code
  • python manage.py makemessage -l nb_NO to generate keys in norwegian language file
  • Edit locale/nb_NO/LC_MESSAGES/django.po and add your translations
  • python manage.py compilemessages

Your new translations are now ready to use :)

You should now be done :-)

Note

System currently under heavy dev, please consider current code rather unstable ;-)

About

Simple system for registering and validating people signing an online petition.

License:Apache License 2.0


Languages

Language:Python 100.0%