Skip to content

openfoodfacts/nutripatrol

Repository files navigation

Nutripatrol

Open Food Facts moderation tool (WIP).

Wikipage

Meeting

Valentin and Raphael are working on this tool. They meet weekly. Please ping them on Slack if you'd like to contribute. We have more general quality meeting every month.

Pre-Commit

This repo uses pre-commit to enforce code styling, etc. To use it:

pre-commit run

Get started

  1. Clone this repository :
git clone https://github.com/openfoodfacts/nutripatrol.git
  1. Open it
cd nutripatrol
  1. Make docker containers
make up
  1. Install virtual environment python
python3 -m venv .venv
  1. Activate it
# MacOS or Linux
source venv/bin/activate

# Windows
venv/Scripts/activate
  1. Install requirement.txt dependencies
pip3 install -r requirements.txt
  1. In .env file uncomment the AUTH_SERVER_STATIC variable Then connect to your PO profile, copy the session cookie and paste it in the body at this endpoint /set_session_cookie

About

A moderation tool for Open Food Facts

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 6