Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 514 Bytes

File metadata and controls

20 lines (14 loc) · 514 Bytes

pawaIT

#Instructions written by:Peter Muturi Wairimu

Deployment Guide

Backend (FastAPI)

  1. Create a Render.com account.
  2. Create a new Web Service.
  3. Point it to backend/ folder.
  4. Add a build command: pip install -r requirements.txt
  5. Start command: uvicorn app.main:app --host 0.0.0.0 --port 8000
  6. Add environment variable:
    • OPENAI_API_KEY=your_key_here

Frontend (Next.js)

  1. Make sure tailwindcss is installed.
  2. Set your API URL in ChatBox.tsx to your live Render API.