Deploying Services
This guide walks you through deploying a service to Forte Platforms from start to finish.
Prerequisites
- A Forte Platforms account
- A GitHub repository with your code
- The Forte CLI installed
Step 1: Create a Project
Projects group related services together.
forte projects create my-app
Step 2: Connect GitHub Repository
Link your GitHub repository to Forte:
forte services create my-service \
--project my-app \
--repo github.com/username/repo \
--branch main
Auto-Deploy
Forte automatically deploys when you push to the configured branch.
Step 3: Configure Build Settings
Forte auto-detects most frameworks, but you can customize:
forte services configure my-service \
--build-command "npm run build" \
--start-command "npm start" \
--port 3000
Supported Frameworks
Forte auto-detects:
- Next.js
- React (Vite, Create React App)
- Node.js (Express, Fastify)
- Python (Django, Flask, FastAPI)
- Go
- Rust
Step 4: Deploy
Trigger your first deployment:
forte deploy my-service
Step 5: Monitor Deployment
Check deployment status:
forte deployments list my-service
Or view in the web console.
Environment Variables
Set environment variables for your service:
forte env set my-service DATABASE_URL="postgres://..."
Secrets
Environment variables are encrypted at rest. Never commit secrets to your repository.
Custom Domains
Coming soon - connect custom domains to your services.
Next Steps
- Monitoring - Set up logs and metrics
- API Reference - Explore the API