Skip to content

Deployment Runbook

Drive-Shift Bot edited this page Jul 5, 2026 · 1 revision

Deployment Runbook

Guide on how to deploy the production application stack.

1. Setup Google Cloud Console

  1. Create a project in Google Cloud Console.
  2. Enable the Google Drive API.
  3. Setup the OAuth consent screen in Testing mode (add test user emails).
  4. Create an OAuth Web Client credential. Add Redirect URIs:
    • http://localhost:8080/auth/callback
    • http://localhost:8080/auth/callback/drive
    • https://drive-shift-api.onrender.com/auth/callback
    • https://drive-shift-api.onrender.com/auth/callback/drive

2. Deploy Postgres to Supabase

  1. Create a database instance on Supabase.
  2. Retrieve the Postgres connection string from Database Settings.

3. Deploy Backend to Render.com

  1. Connect this repository to Render.
  2. Create a Web Service from the backend directory.
  3. Configure the environment variables in the Render panel.

4. Deploy Frontend to Vercel

  1. Connect this repository to Vercel.
  2. Set root directory to frontend.
  3. Define the production environment variables (e.g. NEXT_PUBLIC_API_BASE_URL).

Clone this wiki locally