- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
1.7 KiB
1.7 KiB
🚀 Quick Start Guide
Prerequisites
- Node.js >= 18.0.0
- pnpm >= 8.0.0
Installation
1. Install pnpm (if not already installed)
# Using corepack (recommended)
corepack enable
corepack prepare pnpm@latest --activate
# Or using npm
npm install -g pnpm
2. Install Dependencies
cd orchestration/portal
pnpm install
3. Build Project
pnpm build
4. Start Server
# Development mode (with hot reload)
pnpm dev
# Production mode
pnpm start
Access Portals
Once the server is running:
- Main Dashboard: http://localhost:5000
- Health Dashboard: http://localhost:5000/dashboard/health
- Cost Dashboard: http://localhost:5000/dashboard/costs
- Environment Details: http://localhost:5000/environment/{name}
API Endpoints
All API endpoints are available at /api/*:
GET /api/environments- List all environmentsGET /api/environments/:name- Get environment detailsPOST /api/environments/:name/deploy- Trigger deploymentGET /api/environments/:name/status- Get statusGET /api/environments/:name/metrics- Get metricsGET /api/environments/:name/alerts- Get alertsGET /api/costs- Get cost dataGET /api/deployments- List deployments
Troubleshooting
Port Already in Use
PORT=5001 pnpm start
Build Errors
rm -rf dist node_modules
pnpm install
pnpm build
Type Errors
pnpm run type-check
Next Steps
- Configure environments in
config/environments.yaml - Set up cloud provider credentials
- Deploy infrastructure using Terraform
- Start managing deployments through the portal
Ready to go! 🎉