-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.sh
More file actions
executable file
·35 lines (28 loc) · 975 Bytes
/
start.sh
File metadata and controls
executable file
·35 lines (28 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# Quick start script for local development
echo "🚀 Ingatini Setup Script"
echo "========================"
# Check if Docker is installed
if ! command -v docker &> /dev/null; then
echo "❌ Docker is not installed. Please install Docker first."
exit 1
fi
# Check if Docker Compose is installed
if ! command -v docker compose &> /dev/null; then
echo "❌ Docker Compose is not installed. Please install Docker Compose first."
exit 1
fi
echo "✅ Docker and Docker Compose are installed."
# Setup .env file if it doesn't exist
if [ ! -f .env ]; then
echo "📝 Creating .env file from template..."
cp .env.example .env
echo "⚠️ Please edit .env and add your Gemini API key"
fi
# Start services
echo "🐳 Starting Docker services..."
docker compose up --build
echo "✅ Services are running!"
echo ""
echo "📖 API Documentation: http://localhost:8000/docs"
echo "💻 Health Check: curl http://localhost:8000/api/health"