Initial commit: EifelDC - Discord-like Matrix chat platform
Some checks failed
CI / Rust Check (push) Has been cancelled
CI / Rust Tests (push) Has been cancelled
CI / Frontend Check (push) Has been cancelled
CI / Build Tauri (macOS) (push) Has been cancelled
CI / Build Tauri (macOS Intel) (push) Has been cancelled
CI / Build Tauri (Linux) (push) Has been cancelled
Some checks failed
CI / Rust Check (push) Has been cancelled
CI / Rust Tests (push) Has been cancelled
CI / Frontend Check (push) Has been cancelled
CI / Build Tauri (macOS) (push) Has been cancelled
CI / Build Tauri (macOS Intel) (push) Has been cancelled
CI / Build Tauri (Linux) (push) Has been cancelled
Includes server (Rust/Axum API proxy with voice management), Tauri desktop client with Svelte UI, bot-sdk, Docker infra (Synapse, PostgreSQL, Coturn, Nginx), and CI/CD pipeline.
This commit is contained in:
34
infra/scripts/start.sh
Normal file
34
infra/scripts/start.sh
Normal file
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
INFRA_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
|
||||
if command -v docker &>/dev/null && [ -f "${INFRA_DIR}/docker-compose.yml" ]; then
|
||||
echo "=== Starting EifelDC Infrastructure (Docker) ==="
|
||||
cd "${INFRA_DIR}"
|
||||
docker compose up -d
|
||||
|
||||
echo ""
|
||||
echo "Waiting for services..."
|
||||
sleep 5
|
||||
|
||||
echo ""
|
||||
echo "Container status:"
|
||||
docker compose ps
|
||||
|
||||
echo ""
|
||||
echo "Running health check..."
|
||||
"${SCRIPT_DIR}/healthcheck.sh" || true
|
||||
else
|
||||
echo "=== Starting EifelDC Infrastructure (Native) ==="
|
||||
sudo systemctl start postgresql
|
||||
sudo systemctl start eifeldc-synapse
|
||||
sudo systemctl start coturn
|
||||
sudo systemctl start nginx
|
||||
sudo systemctl start eifeldc-server
|
||||
|
||||
echo "All services started."
|
||||
echo ""
|
||||
"${SCRIPT_DIR}/healthcheck.sh" || true
|
||||
fi
|
||||
Reference in New Issue
Block a user