Task Commands¶
Complete reference for Taskfile automation commands.
Installation & Setup¶
Install All Dependencies¶
Runs uv sync and bun install to install all dependencies.
Initialize Databases¶
Creates data directories for Neo4j, PostgreSQL, and Redis.
Development¶
Start Development Environment¶
Starts all services:
- Docker containers (Neo4j, Postgres, Redis)
- Django API on port 12319
- Tauri development window
Start Services Only¶
Starts Docker containers without API or client.
Stop All Services¶
Stops and removes Docker containers.
Pre-Launch Check¶
Validates that all required directories and dependencies exist.
API Commands¶
Run Django Server¶
Starts Django development server on http://127.0.0.1:12319.
Django Shell¶
Opens Django interactive shell.
Database Migrations¶
Create migration files:
Apply migrations:
Client Commands¶
Start Tauri Dev Mode¶
Launches Tauri window with hot reload.
Build Client¶
Builds production client bundle.
Start Production Client¶
Runs production build (requires client:build first).
Database Management¶
PostgreSQL¶
Open PostgreSQL shell:
Create backup:
Backups saved to ./backups/postgres_YYYYMMDD_HHMMSS.sql
Restore from backup:
Redis¶
Open Redis CLI:
Neo4j¶
Neo4j Browser: http://localhost:7474
Volume Migration¶
Migrate all databases from Docker volumes to local bind mounts:
Migrate individual databases:
These commands copy data from Docker volumes to ./data/ directories.
Clean All Data¶
Destructive Operation
This permanently deletes all database data!
You will be prompted for confirmation.
Testing¶
Run All Tests¶
Runs Django test suite.
Run Specific Test¶
Run Single Test Method¶
Documentation¶
Serve Documentation Locally¶
Opens documentation at http://127.0.0.1:8000 with live reload.
Build Documentation¶
Builds static documentation site to site/ directory.
Deploy Documentation¶
Deploys documentation to GitHub Pages (requires git repository setup).
Utility Commands¶
Default Task¶
Runs sanity check and prompts to start development environment.
List All Tasks¶
Shows all available tasks with descriptions.
Task Help¶
Displays Taskfile help information.
Task Dependencies¶
Some tasks automatically run prerequisites:
task dev→ runstask runnersfirsttask client:start→ runstask client:buildfirsttask runners→ runstask pre-launch-checkfirst
Environment-Specific Tasks¶
Development¶
# Quick iteration cycle
task dev # Start everything
# Make changes...
task test # Verify changes
task teardown # Stop when done
Testing¶
Production Build¶
Custom Task Variables¶
Some tasks accept variables:
Postgres Restore¶
Debugging Tasks¶
Verbose Output¶
Dry Run¶
Shows what would be executed without running commands.
Tips & Tricks¶
Run Multiple Commands¶
Background Execution¶
Watch Mode¶
Quick Database Reset¶
Warning
This deletes all data!
Next Steps¶
- Development Setup - Configure your environment
- Testing Guide - Write and run tests
- Contributing - Contribution workflow