Skip to content

pderkowski/wikimap_ui

Repository files navigation

Interactive map of Wikipedia in your browser

A tool for exploring the map of Wikipedia articles.

English version

Polish version

Requirements

  • python 2.7
  • nodejs
  • elasticsearch

Installation

  1. Clone the repo:
git clone git@github.com:pderkowski/wikimap_ui.git
cd wikimap_ui
  1. 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
  1. Install JS packages:
npm install
  1. Create a bundle from the JS sources using webpack:
make js

Usage

  1. A dataset generated by wikimap is required and should be placed in the './data' folder. A small toy dataset is available here.
  2. Start the elasticsearch process.
  3. Create indices for data:
python ./reset_indices --langs en
  1. Run the app:
python ./run.py

The app should be available in the browser at 0.0.0.0:5000