INSTALL
1.75 KB
Slowal installation guide:
To run Slowal you will need at least:
- python (tested on 2.7 version);
- django with django-registration (tested on version 0.7) and django-extensions packages;
- database system (tested on PostgreSQL 9.1);
- morphological analyser Morfeusz (http://sgjp.pl/morfeusz/).
Slowal can be installed on production server as any other Django application. Comprehensive tutorial for setting Django on production server can be found at: http://bailey.st/blog/2012/05/02/ubuntu-django-postgresql-and-nginx-a-rock-solid-web-stack/. Tutorial can also be helpful for setting database for Slowal project.
Installation:
1) Change database_data.py file to get connection to yours database (see: http://bailey.st/blog/2012/05/02/ubuntu-django-postgresql-and-nginx-a-rock-solid-web-stack/ for hints).
When you are creating database it is important to make database coding 'utf8' and locale Polish.
In PostgreSQL such database would be created by command:
>>> createdb databaseName -E UTF8 -T template0 -l pl_PL.utf8
2) If you want to run Slowal in the domain subfolder change SITE_PREFIX = '' value to other, for example SITE_PREFIX = '/Slowal'
3) Create database table running:
>>> python manage.py syncdb
command in the main folder of project. Remember to create superuser it will help you in managing database and give access to all Slowal functionalities.
4) Fill database with initial values running:
>>> python manage.py import_models
command in the main folder of project.
5) Create default user groups running:
>>> python manage.py create_groups.py
command in the main folder of project.
6) Slowal is ready to run.
Slowal was tested on Safari, Opera, Firefox and Chrome web browsers. Working on Internet Explorer compatibility is still in progress