Rebrand project from web4beginners to ikfreunde

This commit is contained in:
2026-03-06 14:05:59 +01:00
parent fd9ea482bf
commit a2bddefb47
65 changed files with 698 additions and 696 deletions

View File

@@ -16,7 +16,7 @@ if [[ ! "$NAME" =~ ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ ]]; then
exit 1
fi
ROOT_BASE="${ROOT_BASE:-/srv/web4beginners}"
ROOT_BASE="${ROOT_BASE:-/srv/ikfreunde}"
COMPOSE_FILE="${COMPOSE_FILE:-docker-compose.traefik-routes.yml}"
ROOT="${ROOT_BASE}/${NAME}"
@@ -27,9 +27,9 @@ fi
mkdir -p "$ROOT"
if [[ ! -f "$ROOT/web4beginners.com.html" ]]; then
cp web4beginners.com.html "$ROOT/web4beginners.com.html"
echo "Created: $ROOT/web4beginners.com.html"
if [[ ! -f "$ROOT/ikfreunde.com.html" ]]; then
cp ikfreunde.com.html "$ROOT/ikfreunde.com.html"
echo "Created: $ROOT/ikfreunde.com.html"
fi
if [[ ! -f "$ROOT/site-content.de.json" ]]; then
@@ -49,9 +49,9 @@ else
build:
context: .
dockerfile: Dockerfile
container_name: web4beginners-${NAME}
container_name: ikfreunde-${NAME}
volumes:
- ${ROOT}/web4beginners.com.html:/app/web4beginners.com.html
- ${ROOT}/ikfreunde.com.html:/app/ikfreunde.com.html
- ${ROOT}/site-content.de.json:/app/content/site-content.de.json
restart: unless-stopped
networks:

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
const PROJECT_ROOT = __DIR__ . '/..';
const HTML_PATH = PROJECT_ROOT . '/web4beginners.com.html';
const HTML_PATH = PROJECT_ROOT . '/ikfreunde.com.html';
const JSON_PATH = PROJECT_ROOT . '/content/site-content.de.json';
const CREDENTIALS_PATH = PROJECT_ROOT . '/content/.editor-credentials.json';
const RESET_PATH = PROJECT_ROOT . '/content/.editor-reset.json';

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
INPUT_HTML="${1:-web4beginners.com.html}"
INPUT_HTML="${1:-ikfreunde.com.html}"
OUTPUT_JSON="${2:-content/site-content.de.json}"
mkdir -p "$(dirname "$OUTPUT_JSON")"

View File

@@ -6,5 +6,5 @@ cd "$ROOT_DIR"
PORT="${1:-4173}"
ln -sf web4beginners.com.html index.html
ln -sf ikfreunde.com.html index.html
php -d opcache.enable_cli=0 -S 127.0.0.1:"$PORT" scripts/editor_server.php