-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25f2874
commit 4886f68
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Что нужно для запуска | ||
|
||
1. python3.11. Установка описана [тут](https://www.python.org/downloads/) | ||
|
||
2. Docker. Как установить docker описано [тут](https://docs.docker.com/engine/install/) | ||
|
||
3. PostgreSQL. Запустить команду | ||
```console | ||
docker run -d -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust --name db-timetable_api postgres:15 | ||
``` | ||
|
||
## Какие переменные нужны для запуска | ||
- `DB_DSN=postgresql://postgres@localhost:5432/postgres` | ||
|
||
|
||
## Codestyle | ||
|
||
- Black. Как пользоваться описано [тут](https://black.readthedocs.io/en/stable/) | ||
|
||
- Также применяем [isort](https://pycqa.github.io/isort/) | ||
|