- Node 20+ (frontend)
- Python 3.11+ (backend)
- System libraries for Cairo (backend export): e.g.
libcairo2,libpango-1.0-0,libpangocairo-1.0-0(Debian/Ubuntu)
cd backend
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000- API: http://localhost:8000
- OpenAPI: http://localhost:8000/docs
- Data and logs:
data/andlogs/in backend dir (or setMMD_DATA_DIR,LOG_DIR)
cd backend
pytest tests/ -vcd frontend
npm install
npm run dev- App: http://localhost:5173
- Vite proxies
/apitohttp://localhost:8000so the app talks to the local backend.
npm run buildOutput in frontend/dist/.
docker-compose up --buildThen open http://localhost:8000 (single container serves both API and frontend).