Makefile: sync-projects holt projects/ vom Server
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: install dev prod stop logs remove auth sync searxng ollama
|
||||
.PHONY: install dev prod stop logs remove auth sync sync-projects projects searxng ollama
|
||||
|
||||
COMPOSE = docker compose
|
||||
|
||||
@@ -63,3 +63,12 @@ sync:
|
||||
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/themen/ storage/themen/
|
||||
@echo "Sync abgeschlossen."
|
||||
|
||||
# Projekte vom Server holen: `make sync-projects` (auch: `make sync projects`).
|
||||
# Ohne --delete — lokale Projekte, die es auf dem Server nicht gibt, bleiben.
|
||||
sync-projects:
|
||||
@mkdir -p projects
|
||||
rsync -avz --progress root@178.104.67.87:/var/www/creator/projects/ projects/
|
||||
@echo "Projekt-Sync abgeschlossen."
|
||||
|
||||
projects: sync-projects
|
||||
|
||||
Reference in New Issue
Block a user