Setzt Phase 1 aus Visualization.md um: Vanilla-PHP-REST-API mit SQLite-Persistenz, statischen API-Keys pro Agent, Codeberg-Sync fuer Backlog/Done, PHPUnit-Tests und vollstaendiger API.md-Dokumentation - Vorgaben aus Detailantworten.md (F1-F16) umgesetzt. Entwicklung/Build/Test laufen komplett in Docker-Compose-Containern (PHP 8.2 + SQLite + Composer + PHPUnit/pcov), analog zum NC-Gantt-Projekt ist auf dem Host kein PHP/Composer noetig. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
10 lines
305 B
Bash
Executable file
10 lines
305 B
Bash
Executable file
#!/bin/sh
|
|
# Installiert Abhaengigkeiten automatisch beim ersten Start im Container, damit auf dem
|
|
# Host ausser Docker nichts installiert werden muss (composer bleibt im Container).
|
|
set -e
|
|
|
|
if [ ! -d /app/vendor ]; then
|
|
composer install --no-interaction --no-progress --working-dir=/app
|
|
fi
|
|
|
|
exec "$@"
|