add ffmpeg and docker compose to readme
This commit is contained in:
parent
da7df0fc45
commit
8aaf150f14
1 changed files with 10 additions and 11 deletions
21
README.md
21
README.md
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue