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.
|
5 years ago | |
---|---|---|
config | 5 years ago | |
migrate | 5 years ago | |
static | 5 years ago | |
.drone.yml | 5 years ago | |
.gitignore | 5 years ago | |
Dockerfile | 5 years ago | |
README.md | 5 years ago | |
auth-routes.go | 5 years ago | |
config-routes.go | 5 years ago | |
config.go | 5 years ago | |
crypt.go | 5 years ago | |
fb-connection.go | 5 years ago | |
fb-routes.go | 5 years ago | |
main.go | 5 years ago | |
server.go | 5 years ago | |
track-database.go | 5 years ago | |
track-routes.go | 5 years ago | |
user-database.go | 5 years ago | |
user-routes.go | 5 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.