This project is configured for easy deployment on Render using a Blueprint.
- A GitHub account with this repository pushed.
- A Render account.
- Go to Render Dashboard: Log in to https://dashboard.render.com/
- Create New Blueprint:
- Click New + -> Blueprint.
- Connect your GitHub repository (
LearnStream).
- Configure:
- Render will automatically detect the
render.yamlfile. - It will ask you to fill in the Environment Variables defined in the blueprint (like
MONGO_URI). - IMPORTANT:
MONGO_URI: Your MongoDB connection string.CLIENT_URL: The URL of your frontend (you might need to deploy first to get this, or just use*temporarily).SERVER_URL: The URL of your backend (Render provides this).
- Render will automatically detect the
- Apply: Click Apply. Render will deploy both the backend (as a Docker container) and the frontend (as a static site).
The backend uses Docker (server/Dockerfile) to ensure Python is installed. This is required for the transcript generation fallback to work correctly.