Required Software
Required python packages
- docutils
- Python Imaging Library
- Python bindings for your db
- The development version of Django (Lahak tracks it to be compatible with 1.0)
- django-registration - try "easy_install django-registration" from your shell
For Hebrew support you'll need 2 language files from docutils SVN (should be included in the next stable version). Place them in the apropriate docutils directories:
optional packages
- If you want Twitter integration, install python-twitter
Dependencies on Debian
Django itself can be installed from the package python-django. However at this stage moment it is recommended to use their development version. That package may still be useful for you as a reference for file locations, dependencies, etc. The package version in Etch badly lacks documentation.
Similar instaructions may apply to Ubuntu versions. For Sarge the versions may be too old (untested). You will need the following packages:
- python-docutils
- python-imaging
The database bindings: At the moment only postgresql is officially supported:
- python-psycopg2
I'm experimenting with sqlite3:
- python-pysqlite2
Getting Lahak
Lahak is currently only availalble from the subversion repository here. Use the trunk:
svn co http://svn.lahak.python-hosting.com/trunk lahak
Note: It may help to name the directory lahak (case sensitive?) . It seems that some parts of the python code rely on that namespacing. If not, you'll probably work around that requirement with:
ln -s . lahak
Installation
See the django installation guides, basically.
You'll need to:
- copy example-setting.py to settings.py ,
- edit it to fit your database (postgresql?),
- generate a database and grant your user access to it,
- ./manage.py syncdb
(That's as far as I got)
With sqlite3 (not functional at the moment: It is recommended to put the database file in a separate subdirectory, as the server will need write access to the whole directory it resides in.
Customizng
Well everything is installed. You can customize Lahak.
