Require python3
Install the dependencies:
pip install -r requirements.txt
export PYTHONPATH="$(pwd)"
Import the data from Open Food Fact CSV:
wget https://fr.openfoodfacts.org/data/fr.openfoodfacts.org.products.csv -O fr.openfoodfacts.org.products.csv
python3 -m meetup.import
Start the web server:
python3 -m meetup.web
Build the docker image:
make build
Run a docker container including the application, the importer and kibana:
make up
Stop the docker container:
make down
Check application logs:
make logs
Open a shell in the web container:
make shell
- webapp http://localhost:5000
- kibana http://localhost:5601