Some checks failed
API CI / API Lint (push) Successful in 47s
API CI / API Type Check (push) Failing after 47s
API CI / API Test (push) Successful in 1m0s
API CI / API Build (push) Failing after 50s
API CI / Build Docker Image (push) Has been skipped
Build Crossplane Provider / build (push) Failing after 5m51s
CD Pipeline / Deploy to Staging (push) Failing after 29s
CI Pipeline / Lint and Type Check (push) Failing after 36s
CI Pipeline / Build (push) Has been skipped
CI Pipeline / Test Backend (push) Failing after 1m33s
CI Pipeline / Test Frontend (push) Failing after 30s
CI Pipeline / Security Scan (push) Failing after 1m16s
Crossplane Provider CI / Go Test (push) Failing after 3m23s
Crossplane Provider CI / Go Lint (push) Failing after 7m27s
Crossplane Provider CI / Go Build (push) Failing after 3m27s
Deploy to Staging / Deploy to Staging (push) Failing after 30s
Portal CI / Portal Lint (push) Failing after 21s
Portal CI / Portal Type Check (push) Failing after 21s
Portal CI / Portal Test (push) Failing after 21s
Portal CI / Portal Build (push) Failing after 22s
Test Suite / frontend-tests (push) Failing after 30s
Test Suite / api-tests (push) Failing after 49s
Test Suite / blockchain-tests (push) Failing after 30s
Type Check / type-check (map[directory:. name:root]) (push) Failing after 23s
Type Check / type-check (map[directory:api name:api]) (push) Failing after 21s
Type Check / type-check (map[directory:portal name:portal]) (push) Failing after 19s
Validate Configuration Files / validate (push) Failing after 1m52s
CD Pipeline / Deploy to Production (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
3.4 KiB
3.4 KiB
Sovereign Stack Marketplace Setup Guide
This guide walks you through setting up the Sovereign Stack services in the Sankofa marketplace.
Prerequisites
- Database: PostgreSQL database must be running and accessible
- Environment Variables:
.envfile with database credentials:DB_HOST=localhost DB_PORT=5432 DB_NAME=sankofa DB_USER=postgres DB_PASSWORD=your_password - Node.js: Node.js 18+ and pnpm installed
Quick Setup
Run the automated setup script:
cd /home/intlc/projects/Sankofa/api
./scripts/setup-sovereign-stack.sh
This script will:
- Run database migrations (including migration 025 for new categories)
- Seed all 9 Sovereign Stack services
- Verify the setup
Manual Setup
If you prefer to run steps manually:
Step 1: Run Migrations
cd /home/intlc/projects/Sankofa/api
pnpm db:migrate:up
This will:
- Add new product categories (LEDGER_SERVICES, IDENTITY_SERVICES, etc.)
- Create/update Phoenix Cloud Services publisher
Step 2: Seed Services
pnpm db:seed:sovereign-stack
This will:
- Create Phoenix publisher (if not exists)
- Register all 9 Sovereign Stack services
- Create product versions (v1.0.0)
- Set up pricing models
Step 3: Verify Setup
pnpm verify:sovereign-stack
This will verify:
- Phoenix publisher exists and is verified
- All 9 services are registered
- Product versions exist
- Pricing models are configured
Expected Output
After successful setup, you should see:
✅ Phoenix publisher found: Phoenix Cloud Services
✅ Found 9 Phoenix services:
- Phoenix Audit Service
- Phoenix Event Bus
- Phoenix Identity Service
- Phoenix Ledger Service
- Phoenix Messaging Orchestrator
- Phoenix Observability Stack
- Phoenix Transaction Orchestrator
- Phoenix Voice Orchestrator
- Phoenix Wallet Registry
✅ Services span 5 categories
✅ Found 9 product versions
✅ Found 9 pricing models
Troubleshooting
Migration Fails
- Check database connection in
.env - Ensure PostgreSQL is running
- Verify database user has CREATE/ALTER permissions
Seeding Fails
- Ensure migration 025 has run successfully
- Check that Phoenix publisher was created
- Review error messages for specific issues
Verification Shows Missing Services
- Re-run:
pnpm db:seed:sovereign-stack - Check database logs for errors
- Verify product slugs match expected values
Accessing the Marketplace
Once setup is complete:
-
Via GraphQL API:
query { products(filter: { publisherId: "<phoenix-publisher-id>" }) { id name slug category status } } -
Via Portal: Navigate to
https://portal.sankofa.nexus/marketplace -
Filter by Category:
query { products(filter: { category: LEDGER_SERVICES }) { name description pricing { pricingType basePrice } } }
Next Steps
- Review Service Documentation: See individual service docs in this directory
- Test API Endpoints: Use the service stubs to test functionality
- Subscribe to Services: Use the marketplace to subscribe to services
- Monitor Usage: Track usage via the billing dashboard
Support
If you encounter issues:
- Check logs:
pnpm verify:sovereign-stack - Review migration status:
pnpm db:migrate:status - Contact support: support@sankofa.nexus