Difference between revisions of "Deployment/howto"

Jump to navigation Jump to search
Line 41: Line 41:


Kiwix knows about the available contents and indexes (to allow the fulltext search) by reading one (or many) so called ''library file(s)'' which are XML files ([[FeedFormat|more information about the XML format]]). In kiwix, you have the so called "[[library]]" (see screenshot beside) which is the visualisation of the information available about contents. Each time kiwix starts, it try to find thes XML library file to know more about available content. So, library XML files should be located to [[Library#Location|specific places]] and in general kiwix data storage follow [[Build_a_DVD#File_structure|these rules]].
Kiwix knows about the available contents and indexes (to allow the fulltext search) by reading one (or many) so called ''library file(s)'' which are XML files ([[FeedFormat|more information about the XML format]]). In kiwix, you have the so called "[[library]]" (see screenshot beside) which is the visualisation of the information available about contents. Each time kiwix starts, it try to find thes XML library file to know more about available content. So, library XML files should be located to [[Library#Location|specific places]] and in general kiwix data storage follow [[Build_a_DVD#File_structure|these rules]].
So if you want for example to spread Kiwix for Windows with foobar.zim, you have to do:
* Download the last version of kiwix for windows from http://www.kiwix.org
* Unzip Kiwix in the directory "dvd" (so your binary should be in dvd/kiwix/kiwix.exe)
* Download or build your ZIM file.
* 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


== kiwix-serve ==
== kiwix-serve ==