Files
michaelschiemer/docs/SETUP.md

49 lines
861 B
Markdown

# ⚙️ Setup-Anleitung
Diese Datei beschreibt, wie du das Projekt lokal einrichtest und startest.
---
## 🔧 Voraussetzungen
- Docker & Docker Compose
- Python 3 (für Ansible, optional pipx)
- Optional: Ansible (für Server-Setup)
- Optional: PhpStorm oder VS Code
---
## 📦 Projektstruktur
```
.
├── app/ # PHP/NGINX-Anwendung
├── ansible/ # Setup- und Deployment-Playbooks
├── docker-compose.yml
├── .env # Lokale Konfiguration (nicht versioniert)
├── Makefile # Komfortbefehle
└── docs/ # Dokumentation
```
---
## ▶️ Lokaler Start
```bash
# Container starten
docker compose up --build
# Alternativ mit Makefile
make deploy
```
---
## 🧪 Lokale Tests
- `http://localhost:8080` → NGINX + PHP
- Logs anzeigen: `docker compose logs -f`
---