Update README.md
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
parent
2c82286bfe
commit
916067632d
20
README.md
20
README.md
@ -3,7 +3,7 @@
|
|||||||
ParkerBot is a Matrix bot that monitors a channel for YouTube links and
|
ParkerBot is a Matrix bot that monitors a channel for YouTube links and
|
||||||
generates weekly playlists from them.
|
generates weekly playlists from them.
|
||||||
|
|
||||||
## Installation
|
## Running locally
|
||||||
|
|
||||||
1. Clone the repo
|
1. Clone the repo
|
||||||
2. Install the dependencies, preferably in a venv:
|
2. Install the dependencies, preferably in a venv:
|
||||||
@ -12,7 +12,21 @@ generates weekly playlists from them.
|
|||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
3. Copy `[example.env](example.env)` to `.env`, customize it.
|
||||||
|
4. Source `.env`:
|
||||||
|
```shell
|
||||||
|
source .env
|
||||||
|
```
|
||||||
|
3. Execute the app:
|
||||||
|
```shell
|
||||||
|
./main.py
|
||||||
|
```
|
||||||
|
|
||||||
## Running
|
## Running as a container
|
||||||
|
|
||||||
1. Execute `main.py`: `./main.py`
|
1. Customize the 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. ```shell
|
||||||
|
podman-compose up -d
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user