Name: planetbot
Owner: SFBrigade
Description: A bot to fix all the (big) things.
Created: 2017-09-14 02:27:27.0
Updated: 2018-01-22 00:46:13.0
Pushed: 2018-01-22 00:56:10.0
Homepage: null
Size: 154
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Welcome! To get started on development:
brew install awscli
aws configure
(you'll be given credentials with AWS access)We use GoLang (go1.8) for writing lambda functions. If you?ve Go already installed you don?t need the following:
$ brew install golang
$ go get -u github.com/sfbrigade/planetbot
This'll build the zip file that you can upload to AWS Lambda
$ make
There are helpers in Makefile to create, upload and invoke the lambda code.
make lambda-create
(Note: this may fail if the function already exists online; that's fine.)make update
to upload the code and invoke it.From now after you make changes to the Go code, then can just run make update
to upload the code and invoke it from command line.