From 6d8ff7617f06c0249c270f013443441a0a94cc23 Mon Sep 17 00:00:00 2001 From: Erikas Date: Sun, 14 Jul 2024 18:15:15 +0300 Subject: [PATCH] update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0627e5b..c0712a1 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,12 @@ Yes, there is a lot of crappy copypasta html/css/js code. As long as it works! * TLS/SSL/ACME - use reverse proxy (I suggest [Caddy](https://github.com/caddyserver/caddy)) -# Pull requests +# Development -Pull requests are _more_ than welcome, especially fixing vulnerabilities. +To run this code locally, setup `go`, open this project and run this: + +```bash +go run cmd/flightlesssomething/main.go -data-dir data -discord-client-id xxxxxxxxxxxxxxxxxxx -discord-client-secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -discord-redirect-url 'http://127.0.0.1:8080/login/callback' -session-secret xxxxxxxxxxxxxxxxxxxxxxxx +``` + +Then open in browser: http://127.0.0.1:8080/