Skip to content

Commit

Permalink
docs: replace venv with poetry (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Nov 23, 2023
1 parent d44d86d commit 249c092
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@
git clone https://github.com/openfoodfacts/open-prices.git
cd open-prices
# required packages to setup a virtualenv (optional, but recommended)
apt install python3-virtualenv virtualenv
# install poetry (Python dependency manager)
# see https://python-poetry.org/docs/
# create and switch to virtualenv
python -m venv venv
source venv/bin/activate
# install dependencies (pyproject.toml)
poetry install
# install dependencies
pip install -r requirements.txt
# note: all future commands should be prefixed with `poetry run`
# run migrations
alembic upgrade head
Expand Down

0 comments on commit 249c092

Please sign in to comment.