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