# jpl-website - Rustelo Implementation # Generated from basic template # Self-contained justfile for implementation development # Default task - show available commands default: @just --list # Development server with hot reload dev: @echo "๐Ÿš€ Starting jpl-website development server..." @echo "๐Ÿ“ Implementation: jpl-website" @echo "๐Ÿท๏ธ Template: basic" cargo rustelo dev --port 3030 --watch # Build the application build: @echo "๐Ÿ”จ Building jpl-website..." cargo rustelo build # Build for production build-release: @echo "๐Ÿ”จ Building jpl-website for production..." cargo rustelo build --release # Run tests test: @echo "๐Ÿงช Running tests..." cargo test # Format code fmt: @echo "๐ŸŽจ Formatting code..." cargo fmt # Lint code lint: @echo "๐Ÿ“ Linting code..." cargo clippy -- -D warnings # Clean build artifacts clean: @echo "๐Ÿงน Cleaning build artifacts..." cargo clean rm -rf dist/ # Update framework dependencies update-framework: @echo "๐Ÿ”„ Checking for framework updates..." cargo rustelo update --check # Apply framework updates update: @echo "๐Ÿ”„ Applying framework updates..." cargo rustelo update # Sync framework assets (for local development) sync-assets: @echo "๐Ÿ“ฆ Syncing framework assets..." cargo rustelo assets sync # Setup development environment setup: @echo "โš™๏ธ Setting up development environment..." @echo "Installing frontend dependencies..." npm install @echo "โœ… Setup complete!" # Start development with frontend build dev-full: setup @echo "๐Ÿš€ Starting full development environment..." just dev # Production deployment preparation prepare-deploy: build-release @echo "๐Ÿ“ฆ Preparing for deployment..." @echo "โœ… Ready for deployment" # Quick health check check: @echo "๐Ÿ” Running health checks..." cargo check npm run check @echo "โœ… Health check complete" # View logs (implementation-specific) logs: @echo "๐Ÿ“œ Viewing application logs..." tail -f .rustelo/logs/app.log # Configuration management config: @echo "โš™๏ธ Configuration:" @echo "Project: jpl-website" @echo "Template: basic" @echo "Config file: rustelo-deps.toml" @cat rustelo-deps.toml # Content management helpers content-new title: @echo "๐Ÿ“ Creating new content: {{title}}" mkdir -p content/posts echo "# {{title}}" > "content/posts/{{title}}.md" echo "" >> "content/posts/{{title}}.md" echo "Date: $(date -I)" >> "content/posts/{{title}}.md" echo "Author: {{author}}" >> "content/posts/{{title}}.md" echo "" >> "content/posts/{{title}}.md" echo "Your content here..." >> "content/posts/{{title}}.md" # Backup important files backup: @echo "๐Ÿ’พ Creating backup..." tar -czf "backup-$(date +%Y%m%d_%H%M%S).tar.gz" src/ content/ config/ rustelo-deps.toml Cargo.toml @echo "โœ… Backup created" # Include local tasks if they exist import? 'local-tasks.just'