From e068c5128438ccc6739566d526ab3e1583c34d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sun, 19 Jan 2025 20:10:59 +0100 Subject: [PATCH] Update README.md Simplify install guide. --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ea831d4..d474a48 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A capturing system using playwright, as a web service. ## System dependencies -You need poetry installed, see the [install guide](https://python-poetry.org/docs/). You also need the [poetry shell plugin](https://github.com/python-poetry/poetry-plugin-shell), which you can install [this way](https://github.com/python-poetry/poetry-plugin-shell?tab=readme-ov-file#installation). +You need poetry installed, see the [install guide](https://python-poetry.org/docs/). The [poetry shell plugin](https://github.com/python-poetry/poetry-plugin-shell) is not strictly required, but will make your life easier. You can install it [this way](https://github.com/python-poetry/poetry-plugin-shell?tab=readme-ov-file#installation). ## Prerequisites @@ -68,10 +68,9 @@ poetry install Install the system dependencies required by playwright (will call sudo): ```bash -poetry shell -playwright install-deps +poetry run playwright install-deps # for pydub: -apt install ffmpeg libavcodec-extra +sudo apt install ffmpeg libavcodec-extra ``` Initialize the `.env` file: