-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
34 lines (22 loc) · 827 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
HYPEROPIA is a XANADU 2.0
bring "THE WORLD'S INFORMATION"[tm]
to you for personal research and expansion.
## Hyperopia 0.1
Wikipedia + Books
An attempt to cross-reference an offline wikipedia dump
with a digital library.
--
# setup (45gb)
Download
- enwiki-latest-pages-articles-multistream-index.txt.bz2
- enwiki-latest-pages-articles-multistream.xml.bz2
- enwiki-latest-categorylinks.sql.gz
from
http://dumps.wikimedia.org/enwiki/latest/
import the enwiki category database into mysql:
% zcat enwiki-latest-categorylinks.sql.gz | mysql -u USER -p DBNAME
copy mysqlpassword.example.py to mysqlpassword.py and fill in your db info
make indices
% python2 mk-indices.py /path/to/enwiki-latest-pages-articles-multistream.xml.bz2
serve
% python2 serve.py /path/to/enwiki-latest-pages-articles-multistream.xml.bz2