Slack Bot for Rolling Complex Dice
Branch | Build Status |
---|---|
master | |
vDev |
requires:
- Google Cloud SDK
- Go
- AppEngine default service account key.json
- Python 2.7
sudo apt-get install python
- MagicDice in
$GOPATH/src/github.com/aasmall/
- GOOGLE_APPLICATION_CREDENTIALS environment variable set
- [AppEngine API Enabled] (https://console.cloud.google.com/apis/library/appengine.googleapis.com/)
export GOOGLE_APPLICATION_CREDENTIALS="[PATH TO SERVICE ACCOUNT JSON]"
$GOPATH
├── bin
├── pkg
└── src
└── github.com
└── aasmall
└── dicemagic
wget -O ~/sdk-tar.gz \
https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-200.0.0-linux-x86_64.tar.gz
tar -xzf ~/sdk-tar.gz -C ~/
~/google-cloud-sdk/install.sh --quiet
. ~/google-cloud-sdk/path.bash.inc
gcloud components update --quiet
gcloud components install app-engine-go --quiet
cd $GOPATH/src/github.com/aasmall/dicemagic
go get -d -v -t ./... && go build -v ./...