You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Benjamin Bädorf 455ab333a4 Fixed outdated uuid usage 2 years ago
config Added default environment 2 years ago
migrate Added ca certs to docker image, improved migrate script 2 years ago
static Docker build appears to work 2 years ago
.drone.yml Trying again 2 years ago
.gitignore Added default environment 2 years ago
Dockerfile Added ca certs to docker image, improved migrate script 2 years ago
README.md Improved readme 2 years ago
auth-routes.go Docker build appears to work 2 years ago
config-routes.go Fixed outdated uuid usage 2 years ago
config.go Docker build appears to work 2 years ago
crypt.go Remember me? 2 years ago
fb-connection.go Docker build appears to work 2 years ago
fb-routes.go p-p-progresss 2 years ago
main.go Ayy 2 years ago
server.go Fix invalid episode panic 2 years ago
track-database.go Nullpointer ref 2 years ago
track-routes.go Fixed outdated uuid usage 2 years ago
user-database.go Reaching completion 2 years ago
user-routes.go Fixed outdated uuid usage 2 years ago

README.md

lnb-server

| lnb-server | latenight.blue client | eleventhirty.am client |

This is the server-side application for latenight.blue and eleventhirty.am.

Production setup

The current production setup consists of a Docker daemon with an nginx proxy server that has automatic letsencrypt enabled. Check out JrCs/docker-letsencrypt-nginx-proxy-companion for more information on how to run an application in a similar environment.

Features

  • Multiple vhosts
  • REST-like API
  • Multiple logins
  • Automatic facebook posting
  • No Database needed, all data is written to JSON files

Building

Local build

go build ./main *.go

Drone / Docker build

Make sure you have a Drone server running somewhere, and edit .drone.yml to fit your needs.

Starting

The binary takes only one argument: the config file location.

Config

Check out config/config.example.json for an example.