-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Parent Issue: #54
Goal
Create helper scripts for common development tasks.
Tasks
- Create
scripts/directory - Write
scripts/setup_dev.sh- Install Pixi (if not installed)
- Run
pixi install - Copy
.env.exampleto.env - Build Docker containers
- Run initial migrations
- Verify setup
- Write
scripts/migrate_db.sh- Wrapper for Alembic commands
./scripts/migrate_db.sh upgraderuns upgrade./scripts/migrate_db.sh downgraderuns downgrade- Checks for Docker running
- Write
scripts/seed_data.sh(optional)- Load sample data for development
- Reset database to known state
- Write
scripts/test_all.sh- Run all tests (unit, integration, API)
- Generate coverage reports
- Return appropriate exit codes
- Write
scripts/deploy.sh(future use)- Placeholder for deployment automation
- Make all scripts executable:
chmod +x scripts/*.sh - Document scripts in README.md
Success Criteria
- All scripts are executable and documented
-
setup_dev.shsuccessfully sets up development environment -
migrate_db.shsimplifies database migration workflow -
test_all.shruns complete test suite - Scripts documented in README.md
Dependencies
- Depends on: Phase 4: Update Docker for Namespace Packages #59 (Phase 4) - Docker setup
Labels
Sub-task, phase-6, scripts, automation, developer-experience
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels