sonjasrasselbande/Makefile
torsten 2c7cae11a5 Add static website for Sonjas Rasselbande
- src/: layout, page fragments, CSS design system, vanilla JS, .htaccess,
  service worker, manifest, SVG artwork
- scripts/: python build (no npm), HTML/link checks, image + photo pipeline,
  FTP deploy with size verification
- docs/: analysis of the old Wix site, architecture notes, deployment
  learnings (FollowSymLinks 500, FTPS data channel, Let's Encrypt),
  open items, source material
- site/ is generated (make build) and gitignored
2026-11-29 19:26:25 +01:00

39 lines
1 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Sonjas Rasselbande – Kurzbefehle
# Alles ohne Node, ohne npm – nur python3, curl und make.
.PHONY: help build serve clean images deploy deploy-dry check
help:
@echo "make build – Website nach site/ bauen"
@echo "make serve – lokalen Server auf http://localhost:8765 starten"
@echo "make images – Icons + Social-Preview neu erzeugen (Pillow nötig)"
@echo "make photos – Foto-Varianten (AVIF/WebP/JPG) aus originals/ erzeugen"
@echo "make check – HTML-Struktur und interne Links prüfen"
@echo "make deploy-dry – Upload simulieren (zeigt alle Dateien)"
@echo "make deploy – bauen und per FTP hochladen"
@echo "make clean – site/ löschen"
build:
python3 scripts/build.py
serve: build
@echo "→ http://localhost:8765"
@cd site && python3 -m http.server 8765
images:
python3 scripts/make-images.py
photos:
python3 scripts/make-photos.py
check: build
python3 scripts/check.py
deploy-dry:
scripts/deploy.sh --dry-run
deploy:
scripts/deploy.sh
clean:
rm -rf site