-
Prepare your virtual environment.
pip3 install virtualenv python3 -m venv ENV source ENV/bin/activate
-
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
-
Using pip install requirements:
pip3 install -r requirements.txt
-
Run program with arguments:
python3 run_app.py --help
python3 run_app.py "pl,en,de,fr,it" "Powstanie Warszawskie"