server

command module
v0.0.0-...-87f8fa8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2024 License: AGPL-3.0 Imports: 68 Imported by: 0

README

server

Build

go build .

Run

First export the following environment variables:

LISTEN_ADDRESS="<host>:<port>"

FCM_KEY=<Your FCM key to send notifications>

LND_ADDRESS="<host>:<port>"
LND_CERT="-----BEGIN CERTIFICATE-----\\n<certificate content replacing each eol by \\n>\\n-----END CERTIFICATE-----\\n"
LND_MACAROON_HEX="<content of the macaroon file in hexadecimal>"
NETWORK=simnet #or testnet or mainnet

GOOGLE_CLOUD_SERVICE_FILE=<full path of the json file>
GOOGLE_CLOUD_IMAGES_BUCKET_NAME=<name>.appspot.com

REDIS_URL="127.0.0.1:6379"
REDIS_DB="6"

SPARKPOST_API_KEY=<api key>
CARD_NOTIFICATION_EMAIL=<email>
CARD_NOTIFICATION_NAME=<name>
CARD_NOTIFICATION_FROM=<email>

Then run:

./server

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL