6 |
1. You will need PostgreSQL (for now) |
1. You will need PostgreSQL (for now) |
7 |
|
|
8 |
Using any other database is quite easy, and involves editing of |
Using any other database is quite easy, and involves editing of |
9 |
dbi_* parametars in isis2xml.conf [global] section (which you want |
dbi_* parameters in isis2xml.conf [global] section (which you want |
10 |
to do anyway to specify user and password to connect to database). |
to do anyway to specify user and password to connect to database). |
11 |
|
|
12 |
Then, create database: |
Then, create database: |
13 |
|
|
14 |
dpavlin@llin:~$ createdb webpac |
$ createdb webpac |
15 |
CREATE DATABASE |
CREATE DATABASE |
16 |
|
|
17 |
Tabels for index(es) will be created automatically on first run. If you |
Tables for index(es) will be created automatically on first run. If you |
18 |
change data for index often, you might want to drop and re-create database |
change data for index often, you might want to drop and re-create database |
19 |
to erase tables for indexes which are removed. |
to erase tables for indexes which are removed. |
20 |
|
|
21 |
2. Use cpan shell to install modules used: |
2. Use CPAN shell to install modules used: |
22 |
|
|
23 |
|
$ sudo cpan |
24 |
|
cpan> install module_name |
25 |
|
|
26 |
|
Modules which are needed: |
27 |
|
|
28 |
|
Text::Unaccent version 1.02 or higher, you might need |
29 |
|
to get this one from |
30 |
|
http://savannah.nongnu.org/projects/unac/ |
31 |
|
Config::IniFiles |
32 |
|
DBD::Pg or some other DBD driver, you can also |
33 |
|
use the one which came with distribution |
34 |
|
(e.g. libdbd-pg-perl on Debian) |
35 |
|
CGI::Application |
36 |
|
HTML::Pager |
37 |
|
HTML::Template |
38 |
|
HTML::FillInForm |
39 |
|
SWISH |
40 |
|
SWISH::Fork and of course, swish-e executable |
41 |
|
(e.g. swish-e package on Debian) |
42 |
|
|
43 |
|
CPAN shell will also download some more modules to satisfy dependencies. |
44 |
|
|
45 |
|
If you plan to use M$ Excel files for import (type=excel), you will need: |
46 |
|
|
47 |
|
Spreadsheet::ParseExcel |
48 |
|
|