Sign inSign up

benton/snytv

By benton

Updated over 5 years ago

Image
0

1.4K

benton/snytv repository overview

SNYTV

Provides a single, Calendar-driven, shared video feed and distribution system to authorized viewers and contributors.


Build

Requirements
  • go with module support (>~13),
  • make,
  • bash;
  • or Docker (optional; builds linux only)

make compiles all binaries into bin.

make docker builds the Docker image.


Configure

Create a dot-env file called sny.env. For development:

AUTH0_CLIENT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AUTH0_CLIENT_SECRET=yyyyyyyyyyyyyyyyyyyyyyyyyyy
AUTH0_DOMAIN=snytv.us.auth0.com
AUTH0_CALLBACK_URL=http://localhost:3000/callback

For production, enable SSL by setting $SNYTV_HOST to the hostname that will receive the ACME callback for SSL generation. Also make sure to set a $SNYTV_SESSION_KEY.

AUTH0_CLIENT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AUTH0_CLIENT_SECRET=yyyyyyyyyyyyyyyyyyyyyyyyyyy
AUTH0_DOMAIN=snytv.us.auth0.com
AUTH0_CALLBACK_URL=https://snytv.io/callback
SNYTV_HOST=snytv.io
SNYTV_SESSION_KEY=keep-it-secret-keep-it-safe

Run

Requirements
  • libc (your friendly neghborhood OS provides this)
  • Docker (if tg)

To start the web server:

./bin/snytv

In Docker:

docker run --rm --name snytv -v /app/data:/app/data --env-file sny.env \
-p 80:3000 -p 443:3443 benton/snytv

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section.


Author

Benton Roberts


License

This project is licensed under the MIT license. See the LICENSE file for more info.

Tag summary

Content type

Image

Digest

Size

55.3 MB

Last updated

over 5 years ago

docker pull benton/snytv