Files
boc/projects/landvex/DEPLOYMENT.md
T
Bernt 6de2455917 v1.2.0: Add Global Markets footer, translated to 9 languages
- Added GLOBAL_MARKETS_TITLE to all translation files
- Updated footer with 12 markets (4 active + 8 upcoming)
- Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi
- Built and deployed to production
- CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
2026-07-08 19:56:03 +00:00

134 lines
4.2 KiB
Markdown

# Landvex Artikelautomation — Komplett Deployment
## ✅ Vad som byggts
### 1. Produktionsagent (`kor_agent.py` v2.0)
- **Plats**: `/home/bernt/.openclaw/workspace/projects/landvex/20-automation/kor_agent.py`
- **Funktion**: Låser köposter, producerar kandidater med LLM-integration, genererar SEO-filer
- **Cap**: Justerbart (Erik=4, Johan=2 per körning)
### 2. Arbetskö (`artikelko.json`)
- **Plats**: `/home/bernt/.openclaw/workspace/projects/landvex/20-automation/intag/artikelko.json`
- **Innehåll**: 18 poster med prioriteter (Q-001 till Q-018)
- **Status**: Q-001, Q-002, Q-003, Q-004 markerade "klar" efter test
### 3. Systemd-timers
- **Erik**: Kör 06:00 och 14:00 dagligen (8 poster/dygn)
- **Johan**: Kör 10:00 dagligen (2 poster/dygn)
- **Totalt**: 10 poster/dygn
### 4. SEO & AI-Discoverability
| Fil | Plats | Syfte |
|-----|-------|-------|
| `robots.txt` | `landvex-site/public/robots.txt` | Tillåter alla AI-agenter |
| `llms.txt` | `landvex-site/public/llms.txt` | AI-index för språkmodeller |
| `ai-index.json` | `landvex-site/public/ai-index.json` | Strukturerad AI-data |
| `sitemap.xml` | `landvex-site/public/sitemap.xml` | Sitemap för sökmotorer |
| `index.html` | `landvex-site/public/index.html` | Landningssida med Schema.org |
---
## 🔗 Länkar till alla filer
### Kärnfiler
- **Agent**: `/home/bernt/.openclaw/workspace/projects/landvex/20-automation/kor_agent.py`
- **Arbetskö**: `/home/bernt/.openclaw/workspace/projects/landvex/20-automation/intag/artikelko.json`
- **Systemd-installation**: `/home/bernt/.openclaw/workspace/projects/landvex/20-automation/installera-systemd.sh`
### SEO-filer (AI-discoverability)
- **robots.txt**: `/home/bernt/.openclaw/workspace/landvex-site/public/robots.txt`
- **llms.txt**: `/home/bernt/.openclaw/workspace/landvex-site/public/llms.txt`
- **ai-index.json**: `/home/bernt/.openclaw/workspace/landvex-site/public/ai-index.json`
- **sitemap.xml**: `/home/bernt/.openclaw/workspace/landvex-site/public/sitemap.xml`
- **Landningssida**: `/home/bernt/.openclaw/workspace/landvex-site/public/index.html`
### Data & Pipeline
- **Ingest**: `/home/bernt/.openclaw/workspace/projects/landvex/20-automation/ingest.py`
- **Verifiering**: `/home/bernt/.openclaw/workspace/projects/landvex/00-styrning/verifiera.py`
- **Masterdata**: `/home/bernt/.openclaw/workspace/projects/landvex/10-data/lvx-klassposter-master-v3.json`
- **Grafkanter**: `/home/bernt/.openclaw/workspace/projects/landvex/10-data/lvx-graf-kanter-v3.json`
---
## 🚀 Installation på servern
### Steg 1: Kör installationsskriptet (som root)
```bash
sudo bash /home/bernt/.openclaw/workspace/projects/landvex/20-automation/installera-systemd.sh
```
### Steg 2: Verifiera
```bash
sudo systemctl list-timers | grep landvex
sudo systemctl status landvex-artikel-erik.timer
sudo systemctl status landvex-artikel-johan.timer
```
### Steg 3: Manuell testkörning
```bash
# Erik — 4 poster
sudo systemctl start landvex-artikel-erik@01.service
# Johan — 2 poster
sudo systemctl start landvex-artikel-johan@01.service
```
---
## 📊 Produktionsflöde
```
06:00 ├─ landvex-artikel-erik@01.service (4 poster)
10:00 ├─ landvex-artikel-johan@01.service (2 poster)
14:00 └─ landvex-artikel-erik@02.service (4 poster)
20-automation/intag/kandidatposter-*.json
ingest.py → master v(n+1) + graf + bounty-förslag
verifiera.py → GRÖNT/RÖTT
Commit/merge (GRÖNT) eller konfliktkö (RÖTT)
```
---
## 🤖 AI-Discoverability
### För språkmodeller (GPT, Claude, etc.)
1. **robots.txt** tillåter alla AI-agenter
2. **llms.txt** beskriver biblioteket i Markdown
3. **ai-index.json** ger strukturerad data i JSON
### För sökmotorer
1. **sitemap.xml** med alla URL:er
2. **Schema.org** markup på landningssidan
3. **Open Graph** och **Twitter Cards**
---
## 📝 Loggar
- **Erik**: `/var/log/landvex/artikel-erik.log`
- **Johan**: `/var/log/landvex/artikel-johan.log`
---
## ⚠️ Nästa steg
1. **LLM-integration**: Ersätt `producera_med_llm()` med riktigt API-anrop
2. **Webbsida**: Deploya `landvex-site/public/` till webbserver
3. **DNS**: Konfigurera `landvex.com` peka till servern
4. **HTTPS**: Sätt upp SSL-certifikat
---
*Byggd: 2026-07-07*
*Version: 2.0*