8,236
edits
(→kiwix) |
|||
Line 31: | Line 31: | ||
[[File:Library screenshot.png|right|thumb|Screenshot of the library in Kiwix]] | [[File:Library screenshot.png|right|thumb|Screenshot of the library in Kiwix]] | ||
Before deploying the solution, you have to put your content (the ZIM file(s)) with Kiwix (the software itself). Maybe The Kiwix project already did it for you, so check [http://download.kiwix.org/portable/ here] to see if you have your package. Otherwise, you will have to do it by yourself. This part of the process is the most complicated. | |||
To do that you will need the help of 3 different console tools: | |||
* [[kiwix-index]], a tool to create a fulltext search index | * [[kiwix-index]], a tool to create a fulltext search index | ||
* [[kiwix-manage]], a tool to manipulate library XML file | * [[kiwix-manage]], a tool to manipulate library XML file | ||
Line 48: | Line 50: | ||
* call kiwix-install like following: kiwix-install --buildIndex ADDCONTENT path/to/foobar.zim path/to/directory_called_dvd | * call kiwix-install like following: kiwix-install --buildIndex ADDCONTENT path/to/foobar.zim path/to/directory_called_dvd | ||
* copy the "dvd" directory on a DVD or USB stick | * copy the "dvd" directory on a DVD or USB stick | ||
At kiwix.org we have a PERL script to do that (and a few additional small things) quickly. If you are a PERL hacker you may [http://kiwix.svn.sourceforge.net/viewvc/kiwix/tools/scripts/buildDistributionFile.pl?view=markup have a look at it]. | |||
== kiwix-serve == | == kiwix-serve == |
edits