Documentation
This commit is contained in:
parent
9874ad568d
commit
0b06098e6b
5 changed files with 56 additions and 26 deletions
23
docs/contributing.md
Normal file
23
docs/contributing.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
## Contributing
|
||||
|
||||
To run the project locally you will need [poetry](https://python-poetry.org/).
|
||||
|
||||
```
|
||||
git clone git@github.com:fmartingr/butterrobot.git
|
||||
cd butterrobot
|
||||
poetry install
|
||||
```
|
||||
|
||||
Create a `.env-local` file with the required environment variables, you have [an example file](.env-example).
|
||||
|
||||
```
|
||||
SLACK_TOKEN=xxx
|
||||
TELEGRAM_TOKEN=xxx
|
||||
...
|
||||
```
|
||||
|
||||
And then you can run it directly with poetry
|
||||
|
||||
```
|
||||
docker run -it --rm --env-file .env-local -p 5000:5000 -v $PWD/butterrobot:/etc/app/butterrobot local/butterrobot python -m butterrobot
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue