mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 06:41:08 +02:00
## New Features ### Network Graph Visualization (Contacts, Calendar, Todo) - D3.js force simulation for physics-based layout - Zoom & pan with mouse/touchpad - Keyboard shortcuts: +/- zoom, 0 reset, Esc deselect, / search, F focus - Filtering by tags, company/location/project, connection strength - Shared components in @manacore/shared-ui ### Central Tags API (mana-core-auth) - CRUD endpoints for tags - Schema: tags table with userId, name, color, app - Shared tag components in @manacore/shared-ui ### Custom Themes System - Theme editor with live preview and color picker - Community theme gallery - Theme sharing (public, unlisted, private) - Backend API in mana-core-auth ### Todo App Extensions - Glass-pill design for task input and items - Settings page with 20+ preferences - Task edit modal with inline editing - Statistics page with visualizations - PWA support with offline capabilities - Multiple kanban boards ### Contacts App Features - Duplicate detection - Photo upload - Batch operations - Enhanced favorites page with multiple view modes - Alphabet view improvements - Search modal ### Help System - @manacore/shared-help-content - @manacore/shared-help-ui - @manacore/shared-help-types ### Other Features - Themes page for all apps - Referral system frontend - CommandBar (global search) - Skeleton loaders - Settings page improvements ## Bug Fixes - Network graph simulation initialization - Database schema TEXT for user_id columns (Better Auth compatibility) - Various styling fixes ## Documentation - Daily report for 2025-12-10 - CI/CD deployment guide 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
119 lines
2.3 KiB
Markdown
119 lines
2.3 KiB
Markdown
# PocketBase direkt auf Server installieren
|
|
|
|
## Warum?
|
|
|
|
- Daten bleiben erhalten
|
|
- Einfacher SSH-Zugang zum Admin Panel
|
|
- Keine Docker-Komplexität
|
|
- Bessere Performance
|
|
|
|
## Installation auf Server (einmalig)
|
|
|
|
SSH auf Server:
|
|
|
|
```bash
|
|
ssh root@91.99.221.179
|
|
```
|
|
|
|
### 1. PocketBase installieren
|
|
|
|
```bash
|
|
# Verzeichnis erstellen
|
|
mkdir -p /opt/pocketbase
|
|
cd /opt/pocketbase
|
|
|
|
# PocketBase herunterladen
|
|
wget https://github.com/pocketbase/pocketbase/releases/download/v0.26.2/pocketbase_0.26.2_linux_amd64.zip
|
|
unzip pocketbase_0.26.2_linux_amd64.zip
|
|
rm pocketbase_0.26.2_linux_amd64.zip
|
|
chmod +x pocketbase
|
|
|
|
# Daten-Verzeichnis
|
|
mkdir -p /opt/pocketbase/pb_data
|
|
```
|
|
|
|
### 2. Systemd Service erstellen
|
|
|
|
```bash
|
|
cat > /etc/systemd/system/pocketbase.service << 'EOF'
|
|
[Unit]
|
|
Description=PocketBase
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/pocketbase
|
|
ExecStart=/opt/pocketbase/pocketbase serve --http=127.0.0.1:8090 --dir=/opt/pocketbase/pb_data
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
EOF
|
|
```
|
|
|
|
### 3. Service starten
|
|
|
|
```bash
|
|
systemctl daemon-reload
|
|
systemctl enable pocketbase
|
|
systemctl start pocketbase
|
|
systemctl status pocketbase
|
|
```
|
|
|
|
### 4. Admin erstellen
|
|
|
|
```bash
|
|
cd /opt/pocketbase
|
|
./pocketbase superuser create --dir=/opt/pocketbase/pb_data
|
|
```
|
|
|
|
## App-Konfiguration anpassen
|
|
|
|
### In `.env.production`:
|
|
|
|
```env
|
|
PUBLIC_POCKETBASE_URL=https://ulo.ad/api
|
|
POCKETBASE_URL=http://127.0.0.1:8090
|
|
```
|
|
|
|
### In Dockerfile - PocketBase ENTFERNEN:
|
|
|
|
```dockerfile
|
|
# DIESE ZEILEN ENTFERNEN:
|
|
# RUN wget https://github.com/pocketbase/pocketbase/...
|
|
# ENTFERNEN: supervisor config für pocketbase
|
|
```
|
|
|
|
### Nginx in Coolify:
|
|
|
|
```nginx
|
|
location /api/ {
|
|
proxy_pass http://127.0.0.1:8090/;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
```
|
|
|
|
## Vorteile:
|
|
|
|
✅ Daten bleiben IMMER erhalten
|
|
✅ Einfacher SSH-Zugang: `ssh -L 8090:localhost:8090 root@server`
|
|
✅ Backups einfacher: `/opt/pocketbase/pb_data`
|
|
✅ Unabhängig von Docker-Deployments
|
|
✅ Direkter Zugriff für Wartung
|
|
|
|
## Backup (wichtig!)
|
|
|
|
```bash
|
|
# Backup erstellen
|
|
cd /opt/pocketbase
|
|
./pocketbase backup --dir=/opt/pocketbase/pb_data
|
|
|
|
# Oder ganzes Verzeichnis
|
|
tar -czf pocketbase-backup-$(date +%Y%m%d).tar.gz /opt/pocketbase/pb_data
|
|
```
|