butterrobot/docs/contributing.md
Felipe M. 7c684af8c3
All checks were successful
ci/woodpecker/tag/release Pipeline was successful
refactor: python -> go
2025-04-20 14:13:44 +02:00

29 lines
510 B
Markdown

## Contributing
To run the project locally you will need Go 1.19 or higher.
```bash
git clone git@github.com:fmartingr/butterrobot.git
cd butterrobot
make setup
make build
```
Create a `.env-local` file with the required environment variables, you have [an example file](.env-example).
```
SLACK_TOKEN=xxx
TELEGRAM_TOKEN=xxx
HOSTNAME=myhostname.com
...
```
And then you can run it directly:
```bash
# Run directly with Go
go run ./cmd/butterrobot/main.go
# Or run the built binary
./bin/butterrobot
```