add ffmpeg and docker compose to readme

This commit is contained in:
a 2022-12-12 08:58:47 -06:00
parent da7df0fc45
commit 8aaf150f14

View file

@ -8,6 +8,7 @@ Install dependencies:
- FFI: `libffi`
- NaCl: `libnacl` or `libsodium`
- FFmpeg: `ffmpeg`
Copy `.env.example` to `.env`:
@ -25,27 +26,25 @@ Copy `.env.example` to `.env`:
## Setup
### ...with pdm
### ...with PDM
```sh
pdm install --prod
pdm run python app.py
```
### ...with requirements.txt
#### ....and pipenv
```sh
pipenv install
pipenv run python app.py
```
#### ....and virtualenv
### ...with requirements.txt and virtualenv
```sh
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py
```
### ...with Docker Compose
```sh
docker compose build
docker compose up -d
```