Advertencia
El Proyecto Kelsen es un proyecto Django, por lo que se requiere la previa instalación del framework Django.
Debe cumplir los requisitos y tener instaladas las dependencias del Proyecto Kelsen antes de instalarlo. Estos son las siguientes:
Utilice una consola.
svn checkout http://derecho-internet.org/svn/kelsen/trunk/kelsen kelsen
$ cd kelsen
$ emacs settings.py # editar el archivo settings.py
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = 'test.db'
DATABASE_USER = ''
DATABASE_PASSWORD = ''
$ python manage.py syncdb
File local_settings.py is not found. Continuing with production settings.
File local_settings.py is not found. Continuing with production settings.
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
...
You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (Leave blank to use 'jdelacueva'):
E-mail address: su-email@example.com
Password:
Password (again):
Superuser created successfully.
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
...
$ python manage.py shell
>>> from data_importers.territory import import_states, import_categories, import_territories
>>> import_states()
>>> import_categories()
>>> import_territories()
$ python manage.py runserver
Todo
la aplicación deberá ser easy_installable y hallarse en http://pypi.python.org/pypi
Todo
configuración de Apache y wsgi.