Web frontend of Paus
$ PAUS_BASE_DOMAIN=pausapp.com \
PAUS_ETCD_ENDPOINT=http://127.0.0.1:2379 \
PAUS_GITHUB_CLIENT_ID=a058xxxxxxxxxxxxxxxx \
PAUS_GITHUB_CLIENT_SECRET=3d68xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
paus-frontend
You need to register new GitHub Developer application from here.
Authorization callback URL must be http(s)://<base domain>/oauth/callback
.
Key | Required | Description | Default | Example |
---|---|---|---|---|
PAUS_BASE_DOMAIN |
Required | Base domain of application URL | pausapp.com |
|
PAUS_ETCD_ENDPOINT |
Endpoint of etcd cluster | http://127.0.0.1:2379 |
http://172.17.8.101:2379 |
|
PAUS_GITHUB_CLIENT_ID |
Required | GitHub OAuth Client ID | a058xxxxxxxxxxxxxxxx |
|
PAUS_GITHUB_CLIENT_SECRET |
Required | GitHub OAuth Client Secret | 3d68xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
|
PAUS_SECRET_KEY_BASE |
Secret key for session store | (Random string) | 130d1be37c13a04674a01c4c9c881b7eb1d270be |
|
PAUS_URI_SCHEME |
URI scheme of application URL (http |https ) |
http |
http |
Go 1.6 or higher is required.
$ make deps
$ make build
$ bin/paus-frontend