#!/bin/bash # Install dependencies and deploy infrastructure npm install -g aws-cdk python3 -m pip install -r requirements.txt # Install and configure pre-commit hooks pre-commit install pre-commit install-hooks pre-commit autoupdate # Verify pytest setup python3 -m pytest # Initialize and run database migrations alembic upgrade head # Seed initial data python3 -c "from app.utils.database import SessionLocal; from app.models.db import Priority; db = SessionLocal(); db.add_all([Priority(id=100, description='High'), Priority(id=200, description='Medium'), Priority(id=300, description='Low')]); db.commit()"