Skip to content

Installation

Angad Sharma edited this page Apr 5, 2021 · 3 revisions

Local Installation

  • Install youtube-dl and ffmpeg and make sure they are in PATH

  • Install redis and start the redis-server

  • Configure secrets: Copy config/secret.env.sample to config/secret.env and fill the secrets

  • Generate protocol buffer code (requires protoc & gRPC installation)

# make sure protoc is in PATH
go get -u -v github.com/golang/protobuf/proto
go get -u -v github.com/golang/protobuf/protoc-gen-go
make build-proto
  • Build and run
make run
  • Kill
make kill

Note: for MacOS, use homebrew to install pre-requisites:

brew install protobuf ffmpeg
pip3 install youtube-dl
export PATH=$PATH:~/.local/bin
Clone this wiki locally