Files
Your Name 9d9ca9fc12 fix: complete remaining Kima rebrand across all source files
Covers: README docker examples, metric prefixes, User-Agent URLs,
env vars (LIDIFY_* -> KIMA_*), test env vars, image asset rename
(LIDIFY.webp -> kima.webp), frontend component constants, and
code review docs. Only lidify-discovery Lidarr tag and webhook
detection string intentionally preserved for backward compatibility.
2026-02-16 10:10:30 -06:00

34 lines
1016 B
Bash
Executable File

#!/bin/bash
# Development environment setup script
echo "🚀 Setting up Kima development environment..."
# Check if .env exists
if [ ! -f backend/.env ]; then
echo "📝 Creating backend/.env from .env.example..."
cp .env.example backend/.env
echo "⚠️ Please update backend/.env with your configuration"
fi
# Check PostgreSQL
echo "🔍 Checking PostgreSQL (port 5433)..."
if ! nc -z localhost 5433 2>/dev/null; then
echo "❌ PostgreSQL not running on port 5433"
echo " Start with: docker compose -f docker-compose.dev.yml up -d postgres"
exit 1
fi
# Check Redis
echo "🔍 Checking Redis (port 6380)..."
if ! nc -z localhost 6380 2>/dev/null; then
echo "❌ Redis not running on port 6380"
echo " Start with: docker compose -f docker-compose.dev.yml up -d redis"
exit 1
fi
echo "✅ All services are running!"
echo "📦 Installing dependencies..."
cd backend && npm install && cd ..
echo "🎉 Setup complete! Start development with: cd backend && npm run dev"