fix: replace broken setup.sh reference with manual instructions in start.sh
This commit is contained in:
1 parent
011ba8c8b4
commit
21b6a048a1
1 file changed
+18
-8
@@ -374,15 +374,25 @@ print(s.get('server', {}).get('host', 'NOT SET'))
|
|||||||
|
|
||||||
run_setup() {
|
run_setup() {
|
||||||
echo ""
|
echo ""
|
||||||
echo " Starting setup..."
|
echo " Setup is currently only available via the Windows PowerShell launcher."
|
||||||
echo ""
|
echo ""
|
||||||
|
echo " To configure the dashboard:"
|
||||||
if [ -f "$PROJECT_ROOT/setup.sh" ]; then
|
echo " 1. Run setup on a Windows machine: .\launcher.ps1 -> option 2"
|
||||||
chmod +x "$PROJECT_ROOT/setup.sh"
|
echo " 2. Or create settings.yaml manually. Copy settings.yaml.example:"
|
||||||
bash "$PROJECT_ROOT/setup.sh"
|
echo " cp $PROJECT_ROOT/settings.yaml.example $PROJECT_ROOT/settings.yaml"
|
||||||
else
|
echo " 3. Edit settings.yaml with your server details:"
|
||||||
echo " [ERROR] setup.sh not found."
|
echo " nano $PROJECT_ROOT/settings.yaml"
|
||||||
fi
|
echo ""
|
||||||
|
echo " Required settings:"
|
||||||
|
echo " - server.host : Game server VM IP"
|
||||||
|
echo " - server.user : SSH username"
|
||||||
|
echo " - server.ssh_key : Path to SSH private key"
|
||||||
|
echo " - database.port : Local port for DB tunnel"
|
||||||
|
echo " - dashboard.port : Web UI port (default 5050)"
|
||||||
|
echo " - kubernetes.namespace : K8s namespace"
|
||||||
|
echo ""
|
||||||
|
echo " Press Enter to return to the main menu..."
|
||||||
|
read -r
|
||||||
}
|
}
|
||||||
|
|
||||||
start_dashboard() {
|
start_dashboard() {
|
||||||
|
|||||||
Reference in new issue
Block a user