Refactor environment configuration for local development; update SMTP settings and add JWT secret, encryption key, and debug options. Enhance Nuxt configuration for development server and runtime settings. Introduce new membership application form with validation and PDF generation functionality. Update footer and navigation components to include new membership links. Revise user and session data in JSON files.
This commit is contained in:
18
scripts/fetch-template.sh
Normal file
18
scripts/fetch-template.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Lädt das offizielle Aufnahmeantrag-PDF in server/templates/
|
||||
# Usage: ./scripts/fetch-template.sh [URL]
|
||||
# Default URL: https://harheimertc.de/Aufnahmeantrag%202025.pdf
|
||||
|
||||
TEMPLATE_URL=${1:-"https://harheimertc.de/Aufnahmeantrag%202025.pdf"}
|
||||
TEMPLATES_DIR="$(pwd)/server/templates"
|
||||
mkdir -p "$TEMPLATES_DIR"
|
||||
|
||||
echo "Lade Template von: $TEMPLATE_URL"
|
||||
curl -fL "$TEMPLATE_URL" -o "$TEMPLATES_DIR/Aufnahmeantrag 2025.pdf"
|
||||
|
||||
echo "Template gespeichert als: $TEMPLATES_DIR/Aufnahmeantrag 2025.pdf"
|
||||
chmod 644 "$TEMPLATES_DIR/Aufnahmeantrag 2025.pdf"
|
||||
|
||||
echo "Fertig."
|
||||
Reference in New Issue
Block a user