# Procfile.dev - Framework M Development Processes # # This file defines all processes for `m dev` command. # Format: process_name: command to run # # Usage: # m dev --procfile Procfile.dev # # Documentation: https://www.frameworkm.dev/docs/developer/desk-setup # Backend API server (with hot reload) backend: python -m uvicorn framework_m_standard.adapters.web.app:create_app --host 127.0.0.1 --port 8888 --reload # Frontend development server (Vite with HMR) frontend: cd frontend && pnpm dev --port 5173 # Worker process for background jobs (optional) # Uncomment to enable: # worker: m worker --concurrency 4 --log-level info # Scheduler process for periodic tasks (optional) # Uncomment to enable: # scheduler: m worker --scheduler-only --log-level debug # Studio (Framework M admin interface) (optional) # Uncomment to enable: # studio: python -m uvicorn framework_m_studio.app:create_app --host 127.0.0.1 --port 9999 --reload # Custom processes (add your own) # Example: Watch migrations # migration_watch: python scripts/watch_migrations.py # Example: MailHog for email testing # mailhog: mailhog -smtp-bind-addr 127.0.0.1:1025 -ui-bind-addr 127.0.0.1:8025 # Example: Redis server # redis: redis-server --port 6379 # Example: Postgres with specific config # postgres: postgres -D /usr/local/var/postgres -c log_statement=all