mirror of
https://github.com/ReviveMii/revivetube
synced 2025-04-28 20:27:09 -04:00
Update README.md
This commit is contained in:
parent
2d856a628c
commit
ce85315363
1 changed files with 34 additions and 1 deletions
35
README.md
35
README.md
|
@ -8,6 +8,39 @@ ReviveMii Homepage: https://revivemii.errexe.xyz/
|
|||
|
||||
# Self Hosting
|
||||
|
||||
## Docker (Recommended):
|
||||
ReviveTube now supports Docker. Docker Installation:
|
||||
|
||||
Install docker with `sudo apt install docker.io && sudo curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose`
|
||||
|
||||
|
||||
Then run
|
||||
```bash
|
||||
wget https://cloud.theerrorexe.dev/revivetube-docker.tar
|
||||
docker load -i revivetube-docker.tar
|
||||
```
|
||||
Create docker-compose.yml:
|
||||
```diff
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
revivetube:
|
||||
image: theerrorexe/revivetube:latest
|
||||
ports:
|
||||
- "5000:5000"
|
||||
environment:
|
||||
- GOOGLE_API_TOKEN=YOUR_GOOGLE_TOKEN
|
||||
volumes:
|
||||
- .:/app
|
||||
restart: unless-stopped
|
||||
```
|
||||
Replace YOUR_GOOGLE_TOKEN with your google api token
|
||||
Now run `sudo docker-compose up -d` or `sudo docker compose up -d`
|
||||
|
||||
ReviveTube should now run on Port 5000
|
||||
|
||||
## Using Python directly
|
||||
|
||||
WARNING: before starting the server, remove the --proxy command and the --cookie command in revivetube.py
|
||||
|
||||
Go to https://console.cloud.google.com/ and create a new application with the YouTube Data v3 API.
|
||||
|
@ -25,4 +58,4 @@ Search for "--cookies" in revivetube.py and remove the command
|
|||
Start the Server:
|
||||
```bash
|
||||
python3 revivetube.py
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue