.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DB_HOST
── PostgreSQL ────────────────────────────────────────────────
DB_PORT
DB_NAME
DB_USER
DB_PASSWORD
secret
JWT_SECRET_KEY
secret
── JWT Auth ──────────────────────────────────────────────────
JWT_ALGORITHM
secret
JWT_EXPIRE_MINUTES
secret
GROQ_API_KEY
secret
── Groq LLM Insight Engine ─────────────────────────────────── Get a free API key at https://console.groq.com/keys
BACKEND_URL
── Streamlit → FastAPI bridge ──────────────────────────────── URL where the FastAPI backend (src/model_api.py) is running. Change the port…
brew install flyctl && fly launch --from https://github.com/viwaz/sentiment_analysis
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/viwaz/sentiment_analysis
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/viwaz/sentiment_analysis