npx skills add ...
npx skills add coleam00/skills --skill setup-ai-tutor
Sets up and starts the AI Tutor project locally (environment file, dependencies, database, migrations, and dev server). Use when standing up the AI Tutor for the first time on a new machine or after a fresh clone. This is sample-project specific; adapt it when you install the AI Layer into your own project.
npx skills add coleam00/skills --skill setup-ai-tutor
Run the following commands to set up and start the AI Tutor locally.
None required. Run from the repository root.
Creates your local environment configuration from the example template.
Installs all Python packages defined in pyproject.toml.
Starts PostgreSQL in a Docker container.
Applies all pending database migrations.
Starts the FastAPI server with hot-reload on port 8123.
Check that everything is working:
Both should return {"status":"healthy"} responses.
A running local AI Tutor instance.
To stop services:
docker-compose service name may differ — check docker-compose.yml,
.env.example, and the project README for project-specific values before running.uv run uvicorn app.main:app --reload --port 8123# Test API health
curl -s http://localhost:8123/health
# Test database connection
curl -s http://localhost:8123/health/db# Stop dev server: Ctrl+C
# Stop database: docker-compose down