- Added multi-platform deployment architecture details (Web App, PWA, DApp) to README.md. - Included comprehensive troubleshooting guides and fix scripts in README.md. - Enhanced CHANGELOG.md with new features, fixes, and improvements, including TypeScript error resolutions and updated documentation structure. - Revised development setup instructions in DEV_SETUP.md to reflect changes in script usage and environment variable setup.
31 lines
809 B
Bash
31 lines
809 B
Bash
#!/bin/bash
|
|
# Start Development Servers
|
|
# This script starts both webapp and orchestrator services
|
|
|
|
echo -e "\033[0;32mStarting development servers...\033[0m"
|
|
|
|
# Start webapp
|
|
echo -e "\n\033[0;33mStarting webapp (Next.js)...\033[0m"
|
|
cd webapp || exit 1
|
|
npm run dev &
|
|
WEBAPP_PID=$!
|
|
cd ..
|
|
|
|
# Wait a bit
|
|
sleep 2
|
|
|
|
# Start orchestrator
|
|
echo -e "\033[0;33mStarting orchestrator (Express)...\033[0m"
|
|
cd orchestrator || exit 1
|
|
npm run dev &
|
|
ORCH_PID=$!
|
|
cd ..
|
|
|
|
echo -e "\n\033[0;32m✅ Development servers starting!\033[0m"
|
|
echo -e "\n\033[0;36mWebapp: http://localhost:3000\033[0m"
|
|
echo -e "\033[0;36mOrchestrator: http://localhost:8080\033[0m"
|
|
echo -e "\n\033[0;33mNote: Servers are running in background (PIDs: $WEBAPP_PID, $ORCH_PID)\033[0m"
|
|
echo -e "\033[0;33mTo stop: kill $WEBAPP_PID $ORCH_PID\033[0m"
|
|
echo ""
|
|
|