Evopedia

(added german dump)
(Creating a Wikipedia Dump)
Line 16: Line 16:
== Creating a Wikipedia Dump ==
== Creating a Wikipedia Dump ==
-
to be written
+
Creating a Wikipedia dump is unfortunately a rather lengthy process (some days). If you have any suggestions for speeding it up, please step forward.
 +
 
 +
==== 1. install needed software (please add packages if I forgot some): ====
 +
 
 +
apt-get install php5-cli python mysql-server mysql-client wget zip tidy git
 +
 
 +
==== 2. download evopedia source code ====
 +
 
 +
git clone git://github.com/crei/evopedia.git
 +
 
 +
==== 3. adjust settings ====
 +
 
 +
set php's memory_limit to some higher value (128 MB) in /etc/php5/cli/php.ini (or similar)
 +
 
 +
create empty mysql database
 +
 
 +
edit paths and database settings in dumpscripts/createdump.sh
 +
 
 +
change the dump language (bottom of dumpscripts/createdump.sh)
 +
 
 +
==== 4. start the dump process ====
 +
 
 +
call createdump.sh

Revision as of 20:34, 21 January 2010

Evopedia is an offline Wikipedia viewer. It allows to search for articles based on their title or the geographic location on a map. If you are online, even images are displayed.

Apart from the software you also need to download a specially prepared dump of the articles available here.

Contents

Dumps

Dumping Wikipedia is a very time-consuming task. Please be patient or help creating the dumps.

Available dumps:

  • German Wikipedia, 2009-12-23 (1.5 GB) (some articles seem to be missing, but still almost complete and usable.)

Dump Installation

Extract one (or more) of the .zip-Files to a directory on your device and select it from within evopedia. The dump that is used can be changed using the (second) link at the top-left of the search screen.

Creating a Wikipedia Dump

Creating a Wikipedia dump is unfortunately a rather lengthy process (some days). If you have any suggestions for speeding it up, please step forward.

1. install needed software (please add packages if I forgot some):

apt-get install php5-cli python mysql-server mysql-client wget zip tidy git

2. download evopedia source code

git clone git://github.com/crei/evopedia.git

3. adjust settings

set php's memory_limit to some higher value (128 MB) in /etc/php5/cli/php.ini (or similar)

create empty mysql database

edit paths and database settings in dumpscripts/createdump.sh

change the dump language (bottom of dumpscripts/createdump.sh)

4. start the dump process

call createdump.sh