From 68b4d0eced9141148eb90cf106627cb70e3e7fc5 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 14 Aug 2021 21:07:13 -0300 Subject: [PATCH] how to run instructions. --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03cc3a0..fa97ed6 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,23 @@ Federated Lightning Address Server -## Instructions +## How to run + +1. Download the binary from the releases page (or compile with `go build` or `go get`) +2. Set the following environment variables somehow (using example values from bitmia.com): + +``` +PORT=17422 +DOMAIN=bitmia.com +SECRET=askdbasjdhvakjvsdjasd +SITE_OWNER_URL=https://t.me/qecez +SITE_OWNER_NAME=@qecez +SITE_NAME=Bitmia +``` + +3. Start the app with `./satdress` +4. Serve the app to the world on your domain using whatever technique you're used to + +## Get help + +Maybe ask for help on https://t.me/lnurl if you're in trouble.