/line-works-debugger-go

LINE WORKS Service Token Debugger

Primary LanguageGo

ifc-store

Setup

mkdir -p $GOPATH/src/github.com/star-integrations
cd $GOPATH/src/github.com/star-integrations
git clone git@github.com:s-aska/line-works-debugger-go.git

Install

Installing Go

brew install go

Installing SDK and GAE/Go Components

Installing Cloud SDK

curl https://sdk.cloud.google.com | bash
exec -l $SHELL
gcloud init
gcloud components install app-engine-go

Installing dependency

make installdeps

Running the local development server

make dev-all

Deployment App Engine

git push origin master -> Cloud Build -> https://ifc-store.appspot.com/

How to Setup

See https://cloud.google.com/source-repositories/docs/quickstart-triggering-builds-with-source-repositories

  1. [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com Add App Engine Admin role IAM
  2. Enable the Google App Engine Admin API App Engine Admin API
  3. Add Trigger Cloud Build
    1. Select Source GitHub
    2. Choose Repository
    3. Click Cloud Build 構成ファイル(yaml または json)
    4. Settings Branches or Tags rule
    5. Create