La Comanda is packaged as a Docker Compose application, which means you can run the complete stack — Apache, PHP 8.2, and MySQL 8 — on your local machine without installing any of those dependencies directly. All you need is Docker Desktop and Git. From a fresh clone to a working login screen takes about five minutes (plus image download time on first run).Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JAQA20/LaComanda/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure you have the following installed:Docker Desktop
Provides the Docker Engine and the
docker compose CLI. Required to build and run the application containers.Git
Used to clone the La Comanda repository to your local machine.
docker compose commands.
Setup
Clone the Repository
Clone the La Comanda repository from GitHub and navigate into the project directory:
Create the Environment File
Copy the example environment file to create your local The default
.env:.env values are configured to work with the Docker Compose setup out of the box. Open the file to review or adjust them:Start the Containers
Build the images and start all services with a single command:Docker will:Wait until you see MySQL log output indicating the server is ready — for example,
- Pull the
php:8.2-apacheandmysql:8base images (first run only) - Build the application image with all PHP dependencies
- Start the MySQL container and run the initialization SQL script to seed the database schema and default accounts
- Start the Apache/PHP container and bind it to port
8080
The first run may take a few minutes while Docker downloads the base images and builds the application layer. Subsequent starts (without
--build) are much faster.ready for connections — before opening the app.Open the App
Navigate to http://localhost:8080 in your browser. You will be presented with the La Comanda login screen.Log in with the default admin account to explore the full system:
| Field | Value |
|---|---|
| admin@proyecto.com | |
| Password | Admin123! |
Useful Docker Commands
Use these commands to manage the running stack during development:| Command | Description |
|---|---|
docker compose up | Start all containers (without rebuilding images) |
docker compose up --build | Rebuild images and start all containers |
docker compose down | Stop and remove containers, but preserve the database volume |
docker compose down -v && docker compose up --build | Completely reset the database and rebuild from scratch |
docker exec -it la-comanda-db mysql -u root -p | Open an interactive MySQL shell inside the database container |
MySQL is exposed on host port 3307 (not 3306) to avoid conflicts with any local MySQL installation you may already have running. Connect external tools like TablePlus or DBeaver to
127.0.0.1:3307.What’s Next
Roles Overview
Understand the four user roles — Admin, Waiter, Kitchen, and Barista — and how permissions and views differ for each.
Environment Variables
Full reference for every
.env variable, including database settings, app URL configuration, and environment modes.