Contributing
Development Setup
Setting up your development environment for Mako Code
Prerequisites
- Python 3.11+
- Node.js 20+
- Docker Desktop (recommended for the containerized approach)
- uv package manager (preferred for Python dependencies)
Clone the Repository
Setup Options
Mako Code offers three ways to set up your development environment:
1. Using Docker Compose (Recommended)
This is the simplest approach that ensures consistency across environments:
2. Using Make (Mac only)
For Mac users, we provide Make commands to simplify setup:
3. Manual Setup
For the backend:
For the frontend:
Project Structure
backend/
: FastAPI backend with Python codemain.py
: Entry point for the backendfunctions/
: Backend functionality
frontend/
: SvelteKit frontend with TypeScript
API Documentation
The backend API documentation will be available at http://localhost:8001/api/docs when running locally.
Running Tests
If available, run tests with:
Building for Production
To build the frontend for production:
Or using Make:
Submitting Changes
Please refer to our Contribution Guidelines for information on how to submit your changes.