From 2193e11c3b67ce896ca373841fe093967ff081e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdulkadir=20Furkan=20=C5=9Eanl=C4=B1?= Date: Mon, 22 Jan 2024 00:15:13 +0100 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Abdulkadir Furkan Şanlı --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ae24470..c28f2ae 100644 --- a/README.md +++ b/README.md @@ -17,17 +17,20 @@ generates weekly playlists from them. ```shell source .env ``` -3. Execute the app: +5. Execute the app: ```shell ./main.py ``` ## Running as a container -1. Customize the compose.yml if necessary, you might want to change the data +1. Customize the [compose.yml](compose.yml) if necessary, you might want to change the data volume's path or make it a named volume. -3. Copy [example.env](example.env) to `.env` and customize it. -2. Run the container, this is an example with `podman-compose`: +2. Copy [example.env](example.env) to `.env` and customize it. +3. Run locally as described above at least once on a machine with a web browser. + This is needed to get a valid `token.pickle` for YouTube. Copy it to the data + directory where you want to run the container. +4. Run the container, this is an example with `podman-compose`: ```shell podman-compose up -d ```