LogiMath runs as two services — a FastAPI backend and a Flet Python desktop app — coordinated by Docker Compose. This page walks you through cloning the repository, configuring your environment file, and bringing both services up. If you prefer not to use Docker, a manual setup path usingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/whitiue/logiMathApp/llms.txt
Use this file to discover all available pages before exploring further.
uvicorn and python is covered below.
Recommended: Docker Compose
Create your .env file
Copy the example environment file and fill in your values. The Docker Compose configuration reads these variables to configure the database and backend:The
.env.example file contains the following variables:Build and start all services
Build the Docker images and start the backend and PostgreSQL database:Docker Compose starts two services:
postgres (PostgreSQL 16) and backend (FastAPI on port 8000). The database runs a health check before the backend starts, so startup order is handled automatically.Expected output once everything is ready:Without Docker
If you want to run the backend and frontend directly on your machine, start each service in a separate terminal.Backend
You need a running PostgreSQL instance and a
.env file (or exported environment variables) with a valid DATABASE_URL pointing to it. See the prerequisites page for details.Frontend
In a second terminal:http://localhost:8000.