Welcome to the Framework M developer container! This repository is designed to be a zero-config, "one-click" environment for building modular business applications.
- Open in Cloud IDE: Just click the "Open" button in your favorite provider.
- Wait for Setup: The devcontainer will automatically sync dependencies and link the
mCLI. - Create Your First App:
uv run m new app my-cool-app --with-frontend
- Run prerequisite commands:
cd my_cool_app uv add psycopg2-binary uv run m migrate init uv run m migrate all - Start Developing:
uv run m dev --studio
- Metadata-Driven: Define your data models (DocTypes) in Python, and the framework handles the rest.
- Unified Frontend: Instant React/Vite frontends with built-in desk UI.
- Enterprise-Ready Infrastructure:
- PostgreSQL 16: High-performance analytical and transactional storage.
- Redis 7: Fast caching and built-in pub/sub.
- NATS 2: Modern enterprise-grade event bus.
- Built-in Studio: A developer portal available on port
9999.
- Indie Mode: Default with SQLite (internal) or local files.
- Enterprise Mode: Enabled by default in this devcontainer, utilizing Postgres, Redis, and NATS for scale.
Enjoy the frictionless developer experience!