přidán run-digest.sh a config.env.example
This commit is contained in:
14
config.env.example
Normal file
14
config.env.example
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
export ANTHROPIC_API_KEY="sk-ant-xxx..."
|
||||||
|
export TOKEN_ZPRAVOBOT="your-token-here"
|
||||||
|
export TOKEN_POZITIVNI="your-token-here"
|
||||||
|
export TOKEN_SARKASTICKY="your-token-here"
|
||||||
|
```
|
||||||
|
|
||||||
|
## .gitignore
|
||||||
|
```
|
||||||
|
config.env
|
||||||
|
*.csv
|
||||||
|
logs/
|
||||||
|
archive/
|
||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
3
run-digest.sh
Normal file
3
run-digest.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
source /app/data/zpravobot-digest/config.env
|
||||||
|
python3 /app/data/zpravobot-digest/digest-bot.py "$@"
|
||||||
Reference in New Issue
Block a user