just docker-build # Build Docker imagejust docker-run # Run in containerjust docker-run-gpu # Run with GPU supportjust docker-shell # Interactive shell
Production Deployment
sudo just install # Install as systemd servicejust service-start # Start the servicejust service-status # Check statusjust service-logs # View logs
Maintenance
sudo just update # Update to latest versionsudo just rollback # Rollback to previous versionjust health # Check health endpointjust metrics # View Prometheus metrics
All Commands by Category
Build Commands
Command
Description
just build
Compile TypeScript
just clean
Remove build artifacts
just rebuild
Clean and rebuild
just docs-build
Build documentation index
Test Commands
Command
Description
just test
Run all tests
just test-watch
Watch mode testing
just test-coverage
Coverage reports
just test-integration
Integration tests only
just test-mock
Tests with mocked hardware
just test-benchmark
Performance benchmarks
Development
Command
Description
just dev
Hot-reload development server
just start
Production server
Code Quality
Command
Description
just lint
Run ESLint
just lint-fix
Auto-fix linting issues
just format
Format code with Prettier
just format-check
Check formatting
just typecheck
TypeScript type checking
just check
Run all checks
Docker
Command
Description
just docker-build
Build Docker image
just docker-run
Run container
just docker-run-gpu
Run with GPU support
just docker-stop
Stop container
just docker-clean
Remove image
just docker-shell
Interactive shell
Deployment
Command
Description
just install
Install systemd service
just update
Update to latest version
just rollback
Rollback to previous version
just service-start
Start service
just service-stop
Stop service
just service-restart
Restart service
just service-status
View service status
just service-logs
Follow service logs
just service-enable
Enable on boot
just service-disable
Disable on boot
Monitoring
Command
Description
just health
Check health endpoint
just metrics
Fetch Prometheus metrics
just logs
Tail application logs
just logs-error
Tail error logs
Utilities
Command
Description
just validate-config
Validate configuration
just docs-search <query>
Search documentation
just hardware-report
Generate hardware report
just test-spark
Test Spark intelligence
just deps
Install dependencies
just deps-update
Update dependencies
just deps-outdated
Check outdated deps
just deps-audit
Security audit
just deps-audit-fix
Fix vulnerabilities
Releases
Command
Description
just release-patch
Create patch release
just release-minor
Create minor release
just release-major
Create major release
CI/CD
Command
Description
just ci-test
Run CI tests locally
just ci-build
Run build workflow locally
just ci-verify
Verify all workflows
Complete Workflows
Command
Description
just pre-commit
Full pre-commit check
just pre-push
Full pre-push check
just pre-release
Release preparation
Examples
Typical Development Session
# Start development serverjust dev# In another terminal, run tests in watch modejust test-watch# Make changes, then check before committingjust pre-commit# If all passes, commit and pushgit add .git commit -m "feat: add new feature"just pre-pushgit push
Production Deployment
# First-time installationsudo just install# Check if runningjust service-status# View real-time logsjust service-logs# Update to new versionsudo just update# If issues occursudo just rollback
Docker Workflow
# Build imagejust docker-build# Test locallyjust docker-run# Enter container for debuggingjust docker-shell# With GPU support (requires nvidia-docker)just docker-run-gpu
Monitoring
# Check if service is healthyjust health# View Prometheus metricsjust metrics# Check application logsjust logs# Check error logs onlyjust logs-error
Tips
Tab Completion: Many shells support tab completion for just commands
Help: Run just or just --list to see all commands
Chaining: You can chain commands: just clean build test
Dry Run: Use just --dry-run <command> to see what would be executed
Verbose: Use just --verbose <command> to see command output
Why Just?
Simpler than Make: No weird syntax quirks
Cross-platform: Works on Linux, macOS, Windows
Fast: Written in Rust
Developer-friendly: Better error messages
Modern: Built for today’s development workflows
Getting Started
If you’re new to the project, run these commands in order:
# 1. Install dependenciesjust deps# 2. Build the projectjust build# 3. Run tests to verify everything worksjust test# 4. Start development serverjust dev
Advanced Usage
Custom Commands with Parameters
# Search documentationjust docs-search "GPU optimization"# You can add your own commands in the justfile!
Environment Variables
# Run tests with mocked hardwareMOCK_HARDWARE=true just test# Or use the shortcutjust test-mock
Troubleshooting
”just: command not found”
Install just using the instructions at the top of this document.
”Permission denied”
Some commands require sudo:
sudo just installsudo just updatesudo just rollback