Phase 2 complete.

This commit is contained in:
Aodhan Collins
2025-10-06 21:08:25 +01:00
parent 66749a5ce7
commit 8d6a681baa
26 changed files with 3163 additions and 164 deletions

50
run.sh Executable file
View File

@@ -0,0 +1,50 @@
#!/bin/bash
# EVE Application Run Script
# Starts the Tauri development server with hot-reload
set -e
# Colors
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m'
echo -e "${BLUE}╔════════════════════════════════════════════════════════╗${NC}"
echo -e "${BLUE}║ Starting EVE Development Server ║${NC}"
echo -e "${BLUE}╚════════════════════════════════════════════════════════╝${NC}"
echo ""
# Check if .env exists
if [ ! -f ".env" ]; then
echo -e "${YELLOW}[WARNING]${NC} .env file not found"
echo -e "${YELLOW}[INFO]${NC} Creating .env from .env.example..."
cp .env.example .env
echo -e "${YELLOW}[INFO]${NC} Please edit .env and add your API keys"
echo ""
fi
# Check if node_modules exists
if [ ! -d "node_modules" ]; then
echo -e "${YELLOW}[WARNING]${NC} node_modules not found"
echo -e "${BLUE}[INFO]${NC} Installing dependencies..."
npm install
echo ""
fi
# Save PID for kill script
mkdir -p .dev
echo $$ > .dev/run.pid
echo -e "${GREEN}[STARTING]${NC} Launching Tauri development server..."
echo -e "${BLUE}[INFO]${NC} Press Ctrl+C to stop the server"
echo -e "${BLUE}[INFO]${NC} Or run: ./kill.sh"
echo ""
# Start the development server
npm run tauri:dev
# Cleanup on exit
rm -f .dev/run.pid