jolheiser
78ef9fc49c
Signed-off-by: jolheiser <john.olheiser@gmail.com> |
||
---|---|---|
api | ||
database | ||
router | ||
static | ||
.gitignore | ||
LICENSE | ||
README.md | ||
flag.go | ||
go.mod | ||
go.sum | ||
main.go |
README.md
Invitea
Invite links for your Gitea instance!
Setup
Configure Invitea with a config, environment variables, or flags.
domain: http://localhost:8080
session-secret: honk
gitea:
client-key: <client-key> # OAuth2 app key
client-secret: <client-secret> # OAuth2 app secret
token: <admin token> # Used for creating the accounts
url: https://git.jojodev.com
level: info
The CLI flags would match the key above (using .
for any nested section) and environment variables would match INVITEA_<KEY>
.
./invitea --domain http://localhost8080 --session-secret honk
INVITEA_DOMAIN="http://localhost:8080"
INVITEA_SESSION_SECRET="honk"