FastAPI-DB-Cookiecutter/{{ cookiecutter.project_slug }}
..
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2025-04-05 13:10:49 +03:00
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2025-04-05 13:11:23 +03:00
2024-12-26 14:42:24 +02:00
2025-04-05 13:11:06 +03:00
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2024-12-26 14:42:24 +02:00
2025-04-05 13:11:33 +03:00

Welcome to {{ cookiecutter.project_name }}

Setup

1. Install dependencies

Local virtual environment

python3 -m venv venv
source venv/bin/activate
pip install -r requirements/local.txt

Docker image

docker build -f Dockerfile --tag {{ cookiecutter.project_slug }} .

2. Initial setup

Environment variables

Environment variables for the project are being read from the env.yml file:

  • Copy example yml:
    cp envs.example.yml envs.yml
  • Adjust values as necessary

Initialize database

aerich init-db

Migrate database

aerich upgrade

Create new database migration

aerich migrate