Files
dark-lord/start_network.sh
drjones 78a071ba02 Harden onion boot flow and deepen site surfaces
Add persistent onion key backup and restore, improve startup resilience, and flesh out the major site verticals with richer navigation, search coverage, and operator documentation.

Made-with: Cursor
2026-04-07 21:35:52 -07:00

32 lines
1004 B
Bash
Executable File

#!/bin/bash
# CyberLux — build and run (clearnet dev). For Tor hidden service, see scripts/install-tor-onion.sh
set -euo pipefail
cd "$(dirname "$0")"
echo "--------------------------------------------------"
echo " CYBERLUX — BUILD & RUN "
echo "--------------------------------------------------"
DEPLOY_SEED=$((RANDOM % 10000))
echo "[*] Deployment seed: $DEPLOY_SEED"
export NEXT_PUBLIC_DEPLOY_SEED=$DEPLOY_SEED
echo "[*] Installing dependencies..."
npm install
echo "[*] Building..."
npm run build
echo "--------------------------------------------------"
echo " CLEARNET DEV "
echo "--------------------------------------------------"
echo "[+] Open http://localhost:3000"
echo ""
echo "Tor (.onion) production (pull, build, Tor/nginx, print onions, start app):"
echo " ./start.sh"
echo " (or CYBERLUX_SKIP_GIT_PULL=1 ./start.sh if you already pulled)"
echo "--------------------------------------------------"
npm run dev