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
This commit is contained in:
31
start_network.sh
Executable file
31
start_network.sh
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user