Web User Interface for Minerva.
- Tools
- go >= 1.13
- yarn >= 1.21.1
- Resources
$ git clone https://github.com/m-mizutani/strix.git
$ cd strix
$ yarn install
$ node ./node_modules/.bin/webpack --optimize-minimize --config ./webpack.config.js
$ go build -v
$ cp -r ./strix ./static /path/to/deployment
$ cd /path/to/deployment
$ export API_KEY=YOUR_API_GATEWEAY_KEY
$ cat oauth.json | jq
{
"web": {
"client_id": "xxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
"project_id": "your-project-id",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"redirect_uris": [
"http://localhost:8080/auth/google/callback"
]
}
}
$ ./strix -a 0.0.0.0 -p 8080 -g oauth.json https://xxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/prod
Then, open http://localhost:8080 if you run strix on your local PC.
MIT License