g0v/ambassador

Name: ambassador

Owner: g0v

Description: Yet another g0v project hub.

Created: 2017-07-16 23:59:20.0

Updated: 2018-05-09 05:51:26.0

Pushed: 2018-05-09 05:51:25.0

Homepage: null

Size: 27195

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Ambassador - yet another g0v project hub

???? Ambassador ?????????? - 2017 ????????????? g0v ???????????????????????????????????????????????????????????

??????????? g0v ??????? dashboard ???????????? project hub ??????????????????

??

?? npm install ? yarn ?????

web server ??
GH_BASIC_CLIENT_ID & GH_BASIC_SECRET

The GitHub OAuth client ID and secret. The application backend(/server/index.js) uses it to handle OAuth logins.

ASIC_CLIENT_ID=2222f1ffb522f6bb4480 GH_BASIC_CLIENT_SECRET=9eee00006da733b22cb1234339301cc67d943eff
ADMIN_EMAIL

The administrator email address. The application backend uses it to set the GitHub access token. It defaults to admin@example.com.

N_EMAIL=admin@example.com
DATABASE_URL

The PostgreSQL DB URL.

BASE_URL=pgsql://localhost/ambassador
LOGBOT_URL

The location of Logbot. The application backend uses it to fetch information from Logbot.

OT_URL=https://logbot.g0v.tw
HTTPS

The protocol of the application backend. It defaults to nothing.

S=true
API_HOST: the web server hostname

The hostname of the application backend. It defaults to localhost.

HOST=localhost
API_PORT: the web server port

The port number of the application backend. It defaults to 80.

PORT=8081
web client ??
LOGBOT_URL

The location of Logbot. The application frontend uses it to embed the page.

OT_URL=https://logbot.g0v.tw
HTTPS

The procotol of the application frontend. It defaults to nothing.

S=true
HOST

The hostname of the web frontend. It defaults to localhost.

=localhost
PORT

The port number of the web frontend. It defaults to 80.

=8080
API_HOST

The hostname of the application backend. It defaults to localhost. The web frontend uses it to communicate with the backend service.

HOST=localhost
API_PORT

The port number of the application backend. It defaults to 80. The web frontend uses it to communicate with the backend service.

PORT=8081
DDAY

The date that logs begin. It defaults to 1970-01-01.

=2013-07-26
??
??
run test
????
-typed install
run flow
License

CC0-1.0

References

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.