-
Django 1.3 (http://www.djangoproject.com/)
-
Python 2.x (2.6+) (http://www.python.org/)
-
Any Django supported database (http://docs.djangoproject.com/en/dev/ref/databases/)
-
recaptcha-client 1.0.5 or higher (http://pypi.python.org/pypi/recaptcha-client)
-
django-bbmarkup (http://bitbucket.org/offline/django-bbmarkup)
-
(RabbitMQ, Broker for Celery (http://jazstudios.blogspot.com/2010/11/setup-django-rabbitmq-and-celery.html))
-
Celery integration for Django 2.3.3 (https://github.com/ask/django-celery)
-
Reversion integration for Django 1.5 (https://github.com/etianen/django-reversion)
-
Form utils integration for Django 0.2.0 (http://pypi.python.org/pypi/django-form-utils)
-
Networkx 1.5 (http://networkx.lanl.gov/)
-
cjson for Python 1.0.5 (http://pypi.python.org/pypi/python-cjson)
- Django Debug Toolbar 0.8.5 (http://pypi.python.org/pypi/django-debug-toolbar)
- Django Extensions 0.6 (http://code.google.com/p/django-command-extensions/)
- Django Evolution 0.6.5 (http://code.google.com/p/django-evolution/)
- Django South 0.7.3 (Data & Scheme Migration: http://south.aeracode.org/)
South vs. Evolution: http://stackoverflow.com/questions/1590944/currently-using-django-evolution-is-south-better-and-worth-switching
$ pip install Django
$ pip install recaptcha-client
For SQLite:
$ pip install pysqlite
For mySQL, install development libraries first (if mysql_config is missing):
$ sudo apt-get install libmysqlclient-dev
Then install the bindings themselves:
$ pip install MySQL-python
Installation instructions for django-bbmarkup:
ln -s `pwd`/bbmarkup ~/.virtualenv/nuspic/lib/pythonX.Y/site-packages
requirement
$ pip install django-form-utils
$ pip install django-reversion
$ pip install python-cjson
$ pip install networkx
($ sudo apt-get install rabbitmq-server)
$ pip install django-celery
optional (useful for developer)
$ pip install django-extensions
$ pip install django-evolution
$ pip install django-debug-toolbar
$ pip install South
Insert DATABASE_ROUTERS in local_settings
Create empty tables in database
$ python manage.py sqlall reversion | python manage.py dbshell
$ python manage.py sqlall auth django_evolution | python manage.py dbshell --database=network
$ python manage.py sqlall auth django_evolution network | python manage.py dbshell --database=simulation
Synchronize database to models
$ python manage.py syncdb
$ python manage.py syncdb --database=network
$ python manage.py syncdb --database=simulation
Start task with Events.
$ python manage.py celeryd -E
Start camera to save tasks in django, see in django admin.
$ python manage.py celerycam
Start live enviroment of task management.
$ python manage.py celeryev
Unless otherwise specified in the source code, the use and redistribution of the software in this repository are subject to MIT License.
Copyright (C) 2011 onwards by nuSPIC Development Team
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
webapp/decorators.py: (c) 2006-2009 Alexander Solovyov, new BSD License