- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
45 lines
1.1 KiB
Bash
Executable File
45 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# OrbiQuant IA - Stop All Services
|
|
#
|
|
|
|
set -e
|
|
|
|
RED='\033[0;31m'
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[1;33m'
|
|
NC='\033[0m'
|
|
BOLD='\033[1m'
|
|
|
|
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
echo -e "${BOLD}Stopping OrbiQuant IA services...${NC}\n"
|
|
|
|
# Stop Docker services
|
|
if [ -f "$PROJECT_ROOT/docker-compose.services.yml" ]; then
|
|
echo -e "${YELLOW}Stopping Docker Compose services...${NC}"
|
|
cd "$PROJECT_ROOT"
|
|
docker-compose -f docker-compose.services.yml down 2>/dev/null || true
|
|
fi
|
|
|
|
# Kill tmux session if exists
|
|
if command -v tmux &> /dev/null; then
|
|
if tmux has-session -t orbiquant 2>/dev/null; then
|
|
echo -e "${YELLOW}Killing tmux session...${NC}"
|
|
tmux kill-session -t orbiquant
|
|
fi
|
|
fi
|
|
|
|
# Kill processes on known ports
|
|
PORTS=(5173 3000 8001 8003 8004)
|
|
|
|
for port in "${PORTS[@]}"; do
|
|
pid=$(lsof -ti :$port 2>/dev/null || true)
|
|
if [ -n "$pid" ]; then
|
|
echo -e "${YELLOW}Killing process on port $port (PID: $pid)${NC}"
|
|
kill -9 $pid 2>/dev/null || true
|
|
fi
|
|
done
|
|
|
|
echo -e "\n${GREEN}All services stopped!${NC}"
|