mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 07:41:09 +02:00
- Add uload project with apps/web structure
- Reorganize from flat to monorepo structure
- Remove PocketBase binary and local data
- Update to pnpm and @uload/web namespace
- Add picture project to monorepo
- Remove embedded git repository
- Unify all package names to @{project}/{app} schema:
- @maerchenzauber/* (was @storyteller/*)
- @manacore/* (was manacore-*, manacore)
- @manadeck/* (was web, backend, manadeck)
- @memoro/* (was memoro-web, landing, memoro)
- @picture/* (already unified)
- @uload/web
- Add convenient dev scripts for all apps:
- pnpm dev:{project}:web
- pnpm dev:{project}:landing
- pnpm dev:{project}:mobile
- pnpm dev:{project}:backend
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
57 lines
No EOL
1.2 KiB
Markdown
57 lines
No EOL
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! |