Initial PlayBull release with Trilogy Hub integration.
Includes homelab deploy tooling, image position/zoom manifest persistence, and full trading/casino stack. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
28
deploy/quick-start-homelab.sh
Normal file
28
deploy/quick-start-homelab.sh
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
# Schnellstart auf dem Homelab als normaler User (gizzler)
|
||||
# DuckDNS + systemd brauchen einmal: sudo bash deploy/install-homelab.sh
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "${SCRIPT_DIR}/.."
|
||||
|
||||
echo "==> PlayBull Quick-Start ($(whoami)@$(hostname))"
|
||||
|
||||
if [[ ! -f .env ]]; then
|
||||
echo "Erstelle .env — bitte Werte eintragen:"
|
||||
cp -n .env.example .env 2>/dev/null || true
|
||||
${EDITOR:-nano} .env
|
||||
fi
|
||||
|
||||
if [[ ! -f deploy/env.homelab ]]; then
|
||||
cp deploy/env.homelab.example deploy/env.homelab
|
||||
${EDITOR:-nano} deploy/env.homelab
|
||||
fi
|
||||
|
||||
command -v node >/dev/null || { echo "Node.js fehlt. Bitte installieren (v24+)."; exit 1; }
|
||||
npm install --omit=dev
|
||||
|
||||
echo ""
|
||||
echo "Test starten: npm start"
|
||||
echo "Dauerbetrieb: sudo bash deploy/install-homelab.sh (fragt sudo-Passwort)"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user