32 lines
603 B
Bash
32 lines
603 B
Bash
#!/bin/bash
|
|
|
|
# Start Airbyte services
|
|
# This script starts the Airbyte deployment using abctl
|
|
|
|
set -e
|
|
|
|
# Colors for output
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[1;33m'
|
|
NC='\033[0m'
|
|
|
|
echo -e "${YELLOW}Starting Airbyte...${NC}"
|
|
|
|
# Check if abctl is installed
|
|
if ! command -v abctl &> /dev/null; then
|
|
echo "Error: abctl is not installed"
|
|
echo "Please run ./setup-airbyte.sh first"
|
|
exit 1
|
|
fi
|
|
|
|
# Start Airbyte
|
|
abctl local up
|
|
|
|
if [ $? -eq 0 ]; then
|
|
echo -e "${GREEN}Airbyte started successfully${NC}"
|
|
echo "Access at: http://localhost:8030"
|
|
else
|
|
echo "Failed to start Airbyte"
|
|
exit 1
|
|
fi
|