- Go to https://github.com/new
- Repository name:
the-cognisphere - Description:
Emergent Intelligence Civilization Engine - A living ecosystem of cognitive agents - Make it Public (required for GitHub Pages)
- DO NOT initialize with README, .gitignore, or license (we already have these)
- Click "Create repository"
cd /Users/zaydbashir/the-cognisphere
git push -u origin main-
Click "New" → "Web Service"
-
Connect your GitHub repository:
zaydabash/the-cognisphere -
Configure the service:
- Name:
cognisphere-backend - Root Directory:
backend - Environment: Docker
- Dockerfile Path:
backend/Dockerfile - Plan: Free
- Region: Oregon (US West)
- Auto-Deploy: Yes
- Name:
-
Environment Variables:
ENV=production
PORT=8000
LLM_MODE=mock
MEM_BACKEND=networkx
VEC_BACKEND=faiss
SIMULATION_SEED=42
SIMULATION_AGENTS=100
LOG_LEVEL=INFO
CORS_ORIGINS=*
- After deployment, note your service URL (e.g.,
https://cognisphere-backend.onrender.com)
Go to your GitHub repository → Settings → Secrets and variables → Actions
Add these secrets:
- RENDER_API_KEY: Your Render.com personal API key
- RENDER_SERVICE_ID: Your Render service ID (found in service settings)
- RENDER_HEALTH_URL: Your Render service URL +
/healthz
- Go to Render Dashboard → Account Settings → API Keys
- Create new API key
- Copy the key
- Go to your service settings in Render
- Copy the Service ID (looks like
srv-xxxxx)
- Your service URL +
/healthz - Example:
https://cognisphere-backend.onrender.com/healthz
- Go to your GitHub repository → Settings → Pages
- Source: GitHub Actions
- The deployment will happen automatically when you push to main
After pushing your code:
- Check GitHub Actions tab for CI/CD status
- Visit your GitHub Pages URL:
https://zaydabash.github.io/the-cognisphere - Test the backend:
https://your-render-url.onrender.com/healthz
- Frontend:
https://zaydabash.github.io/the-cognisphere - Backend:
https://cognisphere-backend.onrender.com - API Docs:
https://cognisphere-backend.onrender.com/docs
If deployment fails:
- Check GitHub Actions logs
- Verify all secrets are set correctly
- Ensure Render service is healthy
- Check CORS settings in backend