- Phoenix API Railing: proxy to PHOENIX_RAILING_URL, tenant me routes - Tenant-auth: X-API-Key support for /api/v1/* (api_keys table) - Migration 026: api_keys table; 025 sovereign stack marketplace - GET /graphql/schema, GET /graphql-playground, api/docs OpenAPI - Integration tests: phoenix-railing.test.ts - docs/api/API_VERSIONING: /api/v1/ railing alignment - docs/phoenix/PORTAL_RAILING_WIRING Made-with: Cursor
1.2 KiB
1.2 KiB
✅ Syntax Error Fixed!
The syntax error in ONE_COMMAND_SETUP.sh has been fixed. The script is now ready to run.
Run the Setup
The script needs your sudo password to create the database. Run:
cd /home/intlc/projects/Sankofa/api
./ONE_COMMAND_SETUP.sh
When prompted, enter your sudo password.
What the Script Does
- ✅ Configures
.envfile (already done) - ⏳ Creates
sankofadatabase (needs sudo) - ⏳ Sets PostgreSQL password (needs sudo)
- ⏳ Runs migrations
- ⏳ Seeds all 9 services
- ⏳ Verifies setup
Alternative: Manual Database Setup
If you prefer to set up the database manually first:
# 1. Create database and set password (one command)
sudo -u postgres psql << 'EOSQL'
CREATE DATABASE sankofa;
ALTER USER postgres PASSWORD 'dev_sankofa_2024_secure';
\q
EOSQL
# 2. Then run automated setup (no sudo needed)
cd /home/intlc/projects/Sankofa/api
./RUN_ME.sh
After Setup
Once complete, verify:
pnpm verify:sovereign-stack
You should see:
✅ Phoenix publisher found: Phoenix Cloud Services
✅ Found 9 Phoenix services
✅ All 9 expected services found!
The script is fixed and ready! Just run it and enter your sudo password when prompted. 🚀