Update README.md, added makefile description

This commit is contained in:
Emanuele C 2024-06-12 14:28:41 +02:00 committed by GitHub
parent 5ae2905af8
commit f91f2ebfd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,8 +27,8 @@ Make sure you have the following prerequisites installed on your system:
* [python](https://www.python.org/downloads/) > 3.8
* [ffmpeg](https://www.gyan.dev/ffmpeg/builds/)
* [opnessl](https://www.openssl.org) or [pycryptodome](https://pypi.org/project/pycryptodome/)
* [opnessl](https://www.openssl.org) or [pycryptodome](https://pypi.org/project/pycryptodome/)
* [nodejs](https://nodejs.org/)
## Installation
@ -209,6 +209,17 @@ By default the videos will be saved in `/app/Video` inside the container, if you
docker run -it -p 8000:8000 -v /path/to/download:/app/Video streaming-community-api
```
### Docker quick setup with Make
Inside the Makefile (install `make`) are already configured two commands to build and run the container:
```
make build-container
# set your download directory as ENV variable
make LOCAL_DIR=/path/to/download run-container
```
## Tutorial
For a detailed walkthrough, refer to the [video tutorial](https://www.youtube.com/watch?v=Ok7hQCgxqLg&ab_channel=Nothing)
@ -217,4 +228,4 @@ For a detailed walkthrough, refer to the [video tutorial](https://www.youtube.co
## To do
- GUI
- Website api
- Add other site
- Add other site