feat: добавлены зависимости и скрипты для запуска приложения
- Обновлена секция `dependencies` в pyproject.toml: добавлены sqlalchemy, asyncpg и pydantic-settings. - Добавлены переменные окружения в .env.example для настройки базы данных. - Создан файл .gitignore для исключения IDE и файла с токенами. - Обновлена секция [project.scripts] в pyproject.toml: добавлен скрипт app для запуска приложения.
This commit is contained in:
parent
16c079d2c7
commit
a8272f71c2
6
.env.example
Normal file
6
.env.example
Normal file
@ -0,0 +1,6 @@
|
||||
DB_NAME=db_name
|
||||
DB_USER=db_user
|
||||
DB_PASSWORD=db_password
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_ECHO=True
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.idea
|
||||
.env
|
@ -3,17 +3,22 @@ name = "lkeep"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = [
|
||||
{name = "proDream",email = "sushkoos@gmail.com"}
|
||||
{ name = "proDream", email = "sushkoos@gmail.com" }
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi[standard] (>=0.115.6,<0.116.0)",
|
||||
"uvicorn[standard] (>=0.34.0,<0.35.0)",
|
||||
"pre-commit (>=4.0.1,<5.0.0)"
|
||||
"pre-commit (>=4.0.1,<5.0.0)",
|
||||
"sqlalchemy (>=2.0.37,<3.0.0)",
|
||||
"asyncpg (>=0.30.0,<0.31.0)",
|
||||
"pydantic-settings (>=2.7.1,<3.0.0)"
|
||||
]
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[project.scripts]
|
||||
app = "lkeep.main:start"
|
||||
|
Loading…
x
Reference in New Issue
Block a user