lbryio / reflector.go

MIT License
14 stars 13 forks source link

What are the basic invocation flags required to start Reflector or at the very least a default configuration example #21

Closed Leopere closed 6 years ago

Leopere commented 6 years ago

A oneliner in the title because I'm awful like that.

lyoshenka commented 6 years ago

It's /path/to/binary reflector --conf=/path/to/conf. There's a sample conf file here https://github.com/lbryio/reflector.go/blob/master/config.tmpl. You'll need an s3 bucket and a mysql database set up.

lyoshenka commented 6 years ago

If you want to see the entry point in the code, look at https://github.com/lbryio/reflector.go/blob/master/cmd/reflector.go. This is where the execution starts (more or less).