- Docker Desktop (or Docker Engine + Docker Compose)
- Node.js 18+ and npm
- Git
-
Clone the repository:
git clone <repo-url> cd dte-spp-2026
-
Copy environment file:
cp .env.example .env
-
Start Sail containers:
./vendor/bin/sail up -d
This starts PostgreSQL, Redis, and the PHP application container.
-
Install PHP dependencies:
./vendor/bin/sail composer install
-
Generate application key:
./vendor/bin/sail artisan key:generate
-
Run migrations and seed:
./vendor/bin/sail artisan migrate --seed
-
Install and build frontend assets:
npm install npm run build # production build npm run dev # or start Vite dev server
-
Access the application: Open http://localhost in your browser.
Key variables in .env:
| Variable | Description | Default |
|---|---|---|
APP_EJERCICIO_FISCAL |
Fiscal year | Current year |
REPORT_INSTITUCION |
Institution name for reports | Gobierno del Estado |
REPORT_DEPENDENCIA |
Agency name for reports | Secretaria de Planeacion |
EVAL_PESO_FIN |
Weight for Fin level | 0.40 |
EVAL_PESO_PROPOSITO |
Weight for Proposito level | 0.30 |
EVAL_PESO_COMPONENTE |
Weight for Componente level | 0.20 |
EVAL_PESO_ACTIVIDAD |
Weight for Actividad level | 0.10 |
./vendor/bin/sail down # stop containers
./vendor/bin/sail down -v # stop and remove volumes (destroys DB data)