Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 951 Bytes

README.md

File metadata and controls

47 lines (33 loc) · 951 Bytes

Using Wikipedia try to search for events which description differs in other languages

Installation and usage

  1. Prepare your virtual environment.

    pip3 install virtualenv
    python3 -m venv ENV
    source ENV/bin/activate
  2. Setup elasticsearch

    As root run:

    echo vm.max_map_count=262144 >> /etc/sysctl.conf
    sysctl -p

    You need to install docker and docker-compose on your machine. There are many guides in web how to do it. Having installed docker, make sure docker service is running.

    sudo service docker start
    cd multilingual_events
    sudo docker-compose up
  3. Using pip install requirements:

    pip3 install -r requirements.txt
  4. Run program with arguments:

    python3 run_app.py --help
    python3 run_app.py "pl,en,de,fr,it" "Powstanie Warszawskie"