Major WHOOSH system refactoring and feature enhancements
- Migrated from HIVE branding to WHOOSH across all components - Enhanced backend API with new services: AI models, BZZZ integration, templates, members - Added comprehensive testing suite with security, performance, and integration tests - Improved frontend with new components for project setup, AI models, and team management - Updated MCP server implementation with WHOOSH-specific tools and resources - Enhanced deployment configurations with production-ready Docker setups - Added comprehensive documentation and setup guides - Implemented age encryption service and UCXL integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
18
dev-start.sh
18
dev-start.sh
@@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Hive Development Environment Startup Script
|
||||
# WHOOSH Development Environment Startup Script
|
||||
# This script provides a fast development cycle with hot reload
|
||||
|
||||
set -e
|
||||
|
||||
echo "🚀 Starting Hive Development Environment"
|
||||
echo "🚀 Starting WHOOSH Development Environment"
|
||||
echo "========================================="
|
||||
|
||||
# Colors for output
|
||||
@@ -16,13 +16,13 @@ NC='\033[0m' # No Color
|
||||
|
||||
# Check if we're in the right directory
|
||||
if [ ! -f "docker-compose.dev.yml" ]; then
|
||||
echo -e "${RED}❌ Error: Please run this script from the hive project root directory${NC}"
|
||||
echo -e "${RED}❌ Error: Please run this script from the whoosh project root directory${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Function to check if backend is running
|
||||
check_backend() {
|
||||
local backend_url="https://hive.home.deepblack.cloud/api/health"
|
||||
local backend_url="https://whoosh.home.deepblack.cloud/api/health"
|
||||
local dev_url="http://localhost:8089/api/health"
|
||||
|
||||
echo -e "${YELLOW}⏳ Checking backend availability...${NC}"
|
||||
@@ -53,8 +53,8 @@ start_frontend_only() {
|
||||
|
||||
# Create development .env
|
||||
cat > .env.development.local << EOF
|
||||
VITE_API_BASE_URL=https://hive.home.deepblack.cloud
|
||||
VITE_WS_BASE_URL=https://hive.home.deepblack.cloud
|
||||
VITE_API_BASE_URL=https://whoosh.home.deepblack.cloud
|
||||
VITE_WS_BASE_URL=https://whoosh.home.deepblack.cloud
|
||||
VITE_ENABLE_DEBUG_MODE=true
|
||||
VITE_LOG_LEVEL=debug
|
||||
VITE_DEV_MODE=true
|
||||
@@ -62,7 +62,7 @@ EOF
|
||||
|
||||
echo -e "${GREEN}🔥 Starting frontend development server with hot reload...${NC}"
|
||||
echo -e "${YELLOW}💡 Frontend will be available at: http://localhost:3000${NC}"
|
||||
echo -e "${YELLOW}💡 Backend API: https://hive.home.deepblack.cloud${NC}"
|
||||
echo -e "${YELLOW}💡 Backend API: https://whoosh.home.deepblack.cloud${NC}"
|
||||
echo -e "${YELLOW}💡 Press Ctrl+C to stop${NC}"
|
||||
echo ""
|
||||
|
||||
@@ -101,7 +101,7 @@ clean_dev_env() {
|
||||
docker-compose -f docker-compose.dev.yml down --remove-orphans || true
|
||||
|
||||
# Remove dev images
|
||||
docker images --format "table {{.Repository}}\t{{.Tag}}" | grep "hive.*dev" | awk '{print $1":"$2}' | xargs -r docker rmi || true
|
||||
docker images --format "table {{.Repository}}\t{{.Tag}}" | grep "whoosh.*dev" | awk '{print $1":"$2}' | xargs -r docker rmi || true
|
||||
|
||||
# Clean frontend
|
||||
if [ -d "frontend/node_modules" ]; then
|
||||
@@ -121,7 +121,7 @@ check_status() {
|
||||
echo "===================="
|
||||
|
||||
# Check production backend
|
||||
if curl -s -f "https://hive.home.deepblack.cloud/api/health" > /dev/null 2>&1; then
|
||||
if curl -s -f "https://whoosh.home.deepblack.cloud/api/health" > /dev/null 2>&1; then
|
||||
echo -e "${GREEN}✅ Production backend: Online${NC}"
|
||||
else
|
||||
echo -e "${RED}❌ Production backend: Offline${NC}"
|
||||
|
||||
Reference in New Issue
Block a user