Commit 1e720135 authored by Hendrik Garske's avatar Hendrik Garske

docs: DATABASE_URL-Konfiguration in README verbessert

parent 30a7cde4
Pipeline #24 passed with stages
in 1 minute and 33 seconds
...@@ -100,16 +100,19 @@ pnpm install ...@@ -100,16 +100,19 @@ pnpm install
Erstellen Sie eine `.env` Datei im Root-Verzeichnis: Erstellen Sie eine `.env` Datei im Root-Verzeichnis:
```bash ```bash
cp .env.example .env # Falls vorhanden cp .env.example .env
# oder manuell erstellen
``` ```
Fügen Sie folgende Variablen hinzu: **WICHTIG**: Bearbeiten Sie die `.env` Datei und setzen Sie die `DATABASE_URL` mit Ihren PostgreSQL-Daten:
```env ```env
DATABASE_URL="postgresql://username:password@localhost:5432/corex_dashboard?schema=public" DATABASE_URL="postgresql://username:password@localhost:5432/corex_dashboard?schema=public"
NODE_ENV="development"
NEXT_TELEMETRY_DISABLED=1
``` ```
**Für Production/Deployment**: Stellen Sie sicher, dass `DATABASE_URL` in Ihrer Deployment-Umgebung (z.B. CapRover) als Environment Variable gesetzt ist.
### 4. Datenbank Setup ### 4. Datenbank Setup
Siehe [Datenbank Setup](#datenbank-setup) für detaillierte Anweisungen. Siehe [Datenbank Setup](#datenbank-setup) für detaillierte Anweisungen.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment