|
|
|
SiSU
Manual
Ralph Amissah
copy @ SiSU
SiSU - Manual,
|
1 |
What is SiSU? |
2 |
HowTo |
1464 |
38. Setup, initialisation |
38. Setup, initialisation |
1489 |
1490 |
Images, css files for a document directory are copied to their respective locations in the output directory. |
1491 |
while within your document markup/preparation directory, issue the following command |
1492 |
1493 |
1494 |
SiSU can populate PostgreSQL and Sqlite databases and provides a sample search form for querying these databases. |
1495 |
This note provides an example to get you started and will use sqlite |
1496 |
1497 |
1498 |
(2) have a directory with sisu markup samples that is writable |
1499 |
1500 |
1501 |
1502 |
1503 |
1504 |
1505 |
1506 |
1507 |
if you use Debian, the following command will install the required dependencies |
1508 |
1509 |
(2) have a directory with sisu markup samples that is writable |
1510 |
ideally copy the sisu-examples directory to your home directory (because the directory in which you run this example should be writable) |
1511 |
cp -rv /usr/share/sisu-examples/sample/document_samples_sisu_markup ~/. |
1512 |
1513 |
1514 |
1515 |
1516 |
1517 |
1518 |
1519 |
sisu -dv import free_*.sst debian_constitution_v1.2.sst debian_social_contract_v1.1.sst gpl2.fsf.sst |
1520 |
(5) use sisu to start the webrick (httpd) server (if it has not already been started): |
1521 |
1522 |
(6) use sisu to create a search form (for use with the webrick server, and your sample documents) |
1523 |
1524 |
1525 |
1527 |
1528 |
the string should be provided as output from the previous command |
1529 |
sudo cp -vi /usr/share/sisu-examples/sample/document_samples_sisu_markup/sisu_sqlite.cgi /usr/lib/cgi-bin |
1530 |
1531 |
1532 |
1533 |
1534 |
1535 |
1536 |
1537 |
1538 |
1539 |
1540 |
|
1541 |
|
1542 |
1543 |
to start from scratch you can drop the database with the command |
1544 |
1545 |
1546 |
1547 |
1548 |
1549 |
1550 |
1551 |
1552 |
1553 |
1554 |
1555 |
1556 |
1557 |
1558 |
1559 |
1560 |
1561 |
1562 |
1563 |
1564 |
1565 |
1566 |
1567 |
1568 |
1569 |
1570 |
|
|
|
Output generated by
SiSU
0.59.1 2007-09-25 (2007w39/2)
|
SiSU using:
| |
SiSU is released under GPLv3 or later, <http://www.gnu.org/licenses/gpl.html> |
SiSU, developed using
Ruby
on
Debian/Gnu/Linux
software infrastructure,
with the usual GPL (or OSS) suspects.
|