File tree Expand file tree Collapse file tree 3 files changed +31
-6
lines changed Expand file tree Collapse file tree 3 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 11.local
22.idea
3+ ! .env.example
34
45# Byte-compiled / optimized / DLL files
56__pycache__ /
Original file line number Diff line number Diff line change 1- TODO
1+ ## Installing on a local machine
2+ This project requires python 3.10. Deps are managed by [ pip-tools] ( https://github.com/jazzband/pip-tools )
23
3- 1 . поставить линтер
4- 2 . pyproject.toml
5- 3 . сделать проверку подписи в запросах от сентри
6- 4 . загрузка .env
7- 5 . посылать сообщения в БК через селери
4+ Install requirements:
5+
6+ ``` bash
7+ $ pip install --upgrade pip pip-tools
8+ $ pip-sync requirements.txt
9+ ```
10+
11+ Run the server:
12+
13+ ``` bash
14+ $ cp src/.env.example src/.env # default environment variables
15+ $ uvicorn src.main:app
16+ ```
17+
18+ Testing:
19+ ``` bash
20+ # run lint
21+ $ make lint
22+
23+ # run unit tests
24+ $ make test
25+ ```
Original file line number Diff line number Diff line change 1+ DEBUG = False
2+
3+ BASECAMP_ACCOUNT_ID = bc-acc-id
4+ BASECAMP_CHATBOT_KEY = bc-bot-key
5+ BASECAMP_PROJECT_ID = 111
6+ BASECAMP_CHAT_ID = 111
You can’t perform that action at this time.
0 commit comments