Files
exproject/readme.md

22 lines
768 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1. Установка python с офф сайта
2. Установка poetry
pip install poetry
3. Создание папки проекта и добавить в него файл pyproject.toml с данными
[markdown]
[tool.poetry]
[markdown]
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
4. Установка poetry.lock от pyproject
poetry install
5. Добавление библиотек через poetry
poetry add fastapi uvicorn[standart] pydantic-settings sqlalchemy[asyncio] aioodbc orjson
6. Создаем гит проект для нашего приложения
git init
7. Добавляем файл .gitignore
8. Alembic
alembic revision --autogenerate -m "create tables user, login"
alembic upgrade head