Generate DB_PASSWORD
and JWT_KEY
in .env
and .env.docker
file
python3 generate_credentials.py
Remove data/
directory after generating DB_PASSWORD
rm -rf data/
Build and run
docker compose up -d --build alttube-postgres piped piped-postgres piped-proxy
go mod download
go run main.go
Build and run
docker compose build
docker compose up
Build and run in background in one command
docker compose up --build -d
Install swag
go install github.com/swaggo/swag/cmd/swag@latest
At the root of the project, run
swag init --parseDependency --parseInternal --parseDepth 1
http://localhost:8072/swagger/index.html
https://efficiency-node-alttube.hackinggate.com/swagger/index.html