Skip to content

PoolC/slack_bot

Repository files navigation

Build Status Coverage Status

slack_bot

우리들의 장난감 메우와 안즈

Prerequirement for develop

  • go
  • godep (recommended)
    • go get github.com/tools/godep

Prepare build environment for beginner(sample)

go get github.com/Perlmint/goautoenv

Linux/OSX

git clone https://github.com/PoolC/slack_bot.git
cd slack_bot
goautoenv init
source .goenv/bin/activate

Windows(powershell)

git clone https://github.com/PoolC/slack_bot.git
cd slack_bot
goautoenv init
.\.goenv\bin\activate.ps1

Build instruction(sample)

mkdir -p .workspace/src/github.com/PoolC
ln -s `pwd` .workspace/src/github.com/PoolC/slack_bot
export GOPATH=`pwd`/.workspace
cd $GOPATH/src/github.com/PoolC/slack_bot
# instll dependencies
godep restore
# build it
go build

Run testcode

go test -cover ./...

Update dependencies

godep save -r

command

slash command서버.
sample로 echo server가 구현되어있음.

bot

RTM bot.
anzu, meu 두개의 구현체가 존재.

config file

암호화된 prod_config를 실제 서비스 실행시 적용함.
opensslenc명령을 사용, aes-256-ecb cipher 사용해서 암/복호화 수행함.
opensslenc사용법은 https://www.openssl.org/docs/manmaster/apps/enc.html 참조.
암호화에 사용된 키는 #bot_test 채널에 pin되어있으니 참고.

About

bot for poolc.slack.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages