update
This commit is contained in:
17
Makefile
17
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: install dev prod stop logs remove auth sync
|
||||
.PHONY: install dev prod stop logs remove auth sync searxng ollama
|
||||
|
||||
COMPOSE = docker compose
|
||||
|
||||
@@ -47,9 +47,18 @@ remove: stop
|
||||
rm -rf storage/*
|
||||
@echo "Fertig."
|
||||
|
||||
searxng:
|
||||
docker run -d --name searxng --restart unless-stopped -p 8888:8080 searxng/searxng
|
||||
@echo "SearxNG läuft auf http://localhost:8888 (Websuche für den Lokal-Provider)."
|
||||
|
||||
ollama:
|
||||
@which ollama >/dev/null 2>&1 || curl -fsSL https://ollama.com/install.sh | sh
|
||||
ollama pull qwen3:14b
|
||||
ollama pull qwen3:8b
|
||||
@echo "Ollama bereit — Provider 'Lokal' ist aktiv (Modelle anpassen: backend/config.py + dev-ops/opencode.json)."
|
||||
|
||||
sync:
|
||||
@mkdir -p storage/guides storage/bausteine
|
||||
@mkdir -p storage/themen
|
||||
rsync -avz --progress root@178.104.67.87:/var/www/creator/storage/creator.db storage/
|
||||
rsync -avz --progress --delete root@178.104.67.87:/var/www/creator/storage/guides/ storage/guides/
|
||||
rsync -avz --progress --delete root@178.104.67.87:/var/www/creator/storage/bausteine/ storage/bausteine/
|
||||
rsync -avz --progress --delete root@178.104.67.87:/var/www/creator/storage/themen/ storage/themen/
|
||||
@echo "Sync abgeschlossen."
|
||||
|
||||
Reference in New Issue
Block a user