init-project

Use when setting up or reinitializing this project locally for the first time

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "init-project" with this command: npx skills add giladresisi/ai-dev-env/giladresisi-ai-dev-env-init-project

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

acceptance-criteria-validate

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

explore-api

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

cleanup-progress

No summary provided by upstream source.

Repository SourceNeeds Review