THIS VERSION OF KAHEMBA IS NOT STABLE.
IT MAY CORRUPT YOUR SYSTEM.
QUESTA VERSIONE DI KAHEMBA NON E' STABILE. POTREBBE DANNEGGIARE IL VOSTRO COMPUTER.
- Requirements
- Linux
- Python http://www.python.org mx http://www.egenix.com/files/python/eGenix-mx-Extensions.html
wxPythonGTK 2.6 http://www.wxpython.org
or
wxPythonGTK2 2.6 http://www.wxpython.org
MySQL http://www.mysql.com
MySQL-client http://www.mysql.com
MySQL-python http://www.mysql.com
or
postgresql http://www.postgresql.org
postgresql-python http://www.postgresql.org or
sqlite http://www.sqlite.org
pysqlite http://pysqlite.sourceforge.net
All the above packages are usually avalaible as rpm or deb in all distribution cdroms, except wxPython and sqlite.
- Windows
- Python http://www.python.org wxPython 2.6 http://www.wxpython.org mx http://www.egenix.com/files/python/eGenix-mx-Extensions.html MySQL http://www.mysql.com MySQL-python http://www.mysql.com or postgresql http://www.postgresql.org postgresql-python http://www.postgresql.org or sqlite http://www.sqlite.org pysqlite http://pysqlite.sourceforge.net
Quick Start:
Uncompress source and run
python kahemba-run.py
General information:
Kahemba is written in python.
If you use GNU/Linux, you can run it from source.
If you use Windows, you can run it from source or use the full setup
program.
Running kahemba from source code on GNU/Linux:
1-) Uncompress source kahemba-x.x.tar.gz:
tar xzvf kahemba-x.x.tar.gz
2-) Change into directory kahemba-x.x
cd kahemba-x.x
3-) Run kahemba-switch-mysql.py or kahemba-switch-postgresql.py or kahemba-switch-sqlite.py
if you don't know what to choose, do nothing.
python kahemba-switch-mysql.py
or
python kahemba-switch-postgresql.py
on
python kahemba-switch-sqlite.py
4-) If you use sqlite you can jump to step 7.
5-) Create database 'kahemba' or another name.
Refer to your database documentation.
6-) Create tables using file sql/kahemba.mysql.sql or
sql/kahemba.pgsql.sql or sql/kahemba.sqlite.sql . Refer to your database documentation.
7-) Run script kahemba-run.py
python kahemba-run.py
If you are a python programmer, you can edit the file kahemba/config_linux.py and adjust it for your system; if you leave it unchanged it is ok.
Running from source code for Windows:
1-) Uncompress source kahemba-x.x.zip, for example in C:\Programs Files\Kahemba or
in C:\Kahemba
Double click on kahemba-x.x.zip icon.
2-) Go into the kahemba-x.x folder
Double click on Kahemba.x.x folder.
3-) Run kahemba-switch-mysql.py or kahemba-switch-postgresql.py or kahemba-switch-sqlite.py
if you don't know what to choose, decide for sqlite.
Double click on kahemba-switch-mysql.py icon
or
Double click on kahemba-switch-postgresql.py icon
or
Double click on kahemba-switch-sqlite.py icon
4-) If you use sqlite you can jump to step 7.
5-) Create database 'kahemba' or another name.
Click to your database documentation.
6-) Create tables using file sql/kahemba.mysql.sql or
sql/kahemba.pgsql.sql or sql/kahemba.sqlite.sql . Refer to your database documentation.
7-) Run script kahemba-run.py
Double click on kahemba-run.py icon
If you are a python programmer, you can edit the file kahemba/config_win.py and adjust it for your system; if you leave it unchanged it is ok.
Database issue:
The default database is sqlite.
If you want to change database use command
python kahemba-switch-postgresql.py
or
python kahemba-switch-mysql.py
or
python kahemba-switch-sqlite.py
Source came with a sqlite "demo" databate. You can use it for test the program.
