managarten/apps-archived/uload/docs/setup-local-pocketbase.md
Till-JS 61d181fbc2 chore: archive inactive projects to apps-archived/
Move inactive projects out of active workspace:
- bauntown (community website)
- maerchenzauber (AI story generation)
- memoro (voice memo app)
- news (news aggregation)
- nutriphi (nutrition tracking)
- reader (reading app)
- uload (URL shortener)
- wisekeep (AI wisdom extraction)

Update CLAUDE.md documentation:
- Add presi to active projects
- Document archived projects section
- Update workspace configuration

Archived apps can be re-activated by moving back to apps/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 07:03:59 +01:00

59 lines
1.2 KiB
Markdown

# Lokale PocketBase Setup - Anleitung
## 🚀 PocketBase läuft bereits!
PocketBase ist bereits gestartet auf: http://localhost:8090
## 📝 Nächste Schritte:
### 1. Admin Account erstellen
Öffne im Browser: http://localhost:8090/\_/
- Beim ersten Besuch wirst du aufgefordert einen Admin-Account zu erstellen
- Verwende sichere Credentials (nur für lokale Entwicklung)
### 2. Schema importieren
Nach dem Login als Admin:
1. Gehe zu "Settings" → "Import/Export"
2. Wähle "Load from JSON file"
3. Lade die Datei: `backend/pb_schema.json`
4. Klicke "Review" und dann "Confirm"
### 3. Test-Daten erstellen
Erstelle ein paar Test-Einträge:
**Test User:**
- Email: test@localhost
- Password: test123456
**Test Links:**
- Kurz-Code: test1
- Original URL: https://example.com
- Aktiv: Ja
### 4. App mit lokaler DB testen
```bash
# Terminal 1: PocketBase läuft bereits
# Terminal 2: Frontend starten
npm run dev
```
Die App sollte jetzt http://localhost:8090 als Backend nutzen!
## ✅ Verification
1. Öffne http://localhost:5173
2. Check Console für: "🔧 PocketBase URL: http://localhost:8090"
3. Registriere einen Test-User
4. Erstelle einen Test-Link
## 🎉 Fertig!
Deine lokale Entwicklungsumgebung ist jetzt vollständig von Production getrennt!