Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: replace mentions to venv with poetry #54

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading