init-project

Installation
SKILL.md

Initialize Project

Run the following commands to set up and start the project locally:

1. Create Environment File

cp .env.example .env

Creates your local environment configuration from the example template.

2. Install Dependencies

uv sync

Installs all Python packages defined in pyproject.toml.

3. Start Database

docker-compose up -d db

Starts PostgreSQL 18 in a Docker container on port 5433.

4. Run Database Migrations

uv run alembic upgrade head

Applies all pending database migrations.

5. Start Development Server

uv run uvicorn app.main:app --reload --port 8123

Starts the FastAPI server with hot-reload on port 8123.

6. Validate Setup

Check that everything is working:

# Test API health
curl -s http://localhost:8123/health

# Test database connection
curl -s http://localhost:8123/health/db

Both should return {"status":"healthy"} responses.

Access Points

Cleanup

To stop services:

# Stop dev server: Ctrl+C
# Stop database: docker-compose down
Related skills
Installs
8
GitHub Stars
2
First Seen
Mar 6, 2026