This commit is contained in:
parent
9c78ea2d48
commit
7c684af8c3
79 changed files with 3594 additions and 3257 deletions
|
@ -1,11 +1,12 @@
|
|||
## Contributing
|
||||
|
||||
To run the project locally you will need [poetry](https://python-poetry.org/).
|
||||
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).
|
||||
|
@ -13,11 +14,16 @@ Create a `.env-local` file with the required environment variables, you have [an
|
|||
```
|
||||
SLACK_TOKEN=xxx
|
||||
TELEGRAM_TOKEN=xxx
|
||||
HOSTNAME=myhostname.com
|
||||
...
|
||||
```
|
||||
|
||||
And then you can run it directly with poetry:
|
||||
And then you can run it directly:
|
||||
|
||||
```
|
||||
poetry run python -m butterrobot
|
||||
```bash
|
||||
# Run directly with Go
|
||||
go run ./cmd/butterrobot/main.go
|
||||
|
||||
# Or run the built binary
|
||||
./bin/butterrobot
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue