A tool for exploring the map of Wikipedia articles.
- python 2.7
- nodejs
- elasticsearch
- Clone the repo:
git clone git@github.com:pderkowski/wikimap_ui.git
cd wikimap_ui
- Install Python packages from requirements.txt. I recommend using pip and virtualenv:
virtualenv env --no-site-packages
source env/bin/activate
pip install -r requirements.txt
- Install JS packages:
npm install
- Create a bundle from the JS sources using webpack:
make js
- A dataset generated by wikimap is required and should be placed in the './data' folder. A small toy dataset is available here.
- Start the elasticsearch process.
- Create indices for data:
python ./reset_indices --langs en
- Run the app:
python ./run.py
The app should be available in the browser at 0.0.0.0:5000