Update README.md

Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
Abdulkadir Furkan Şanlı 2024-01-22 00:15:13 +01:00
parent ab05a87705
commit 2193e11c3b
Signed by: afk
SSH Key Fingerprint: SHA256:s1hULLl4YWdqU501MUfGe1CAG/m1pf9Cs6vFsqeTNHk

View File

@ -17,17 +17,20 @@ generates weekly playlists from them.
```shell ```shell
source .env source .env
``` ```
3. Execute the app: 5. Execute the app:
```shell ```shell
./main.py ./main.py
``` ```
## Running as a container ## 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. volume's path or make it a named volume.
3. Copy [example.env](example.env) to `.env` and customize it. 2. Copy [example.env](example.env) to `.env` and customize it.
2. Run the container, this is an example with `podman-compose`: 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 ```shell
podman-compose up -d podman-compose up -d
``` ```