Skip to main content
This guide provides a rapid developer setup for running toorow in a local sandbox environment.
For production container deployments on Google Cloud or custom infrastructure, see the Self-Hosting Guide and Cloud Hosting Architecture.

Prerequisites

Before running the commands below, ensure your local machine has the following tools installed:
  • Python 3.12
  • uv package manager
  • Node.js 22.x or higher
  • pnpm 9.x (corepack enable)
  • Docker Desktop with Compose (optional, for local Nango and Postgres)
See the full Prerequisites Guide for detailed service and tool specifications.

1. Clone & Install Dependencies


2. Environment Configuration

Copy the default environment template:
By default, .env.example configures TOOROW_AUTH_MODE=static with local defaults suitable for offline development.
The Python server process reads environment variables directly upon boot. Updating .env requires restarting the server process.

3. Run the FastMCP Server

Start the local server backend:
The FastMCP HTTP endpoint will be available at http://localhost:8000/mcp. To specify a custom port (e.g. PowerShell):

4. Run the Admin Console

Start the React Admin Console in development mode with Hot Module Replacement (HMR):
The Vite dev server will launch at http://localhost:5174 and automatically proxy /api requests to the FastMCP backend at http://localhost:8000.

5. (Optional) Launch Local Nango & PostgreSQL Stack

To test OAuth connection flows, multi-project governance, and full database persistence locally:
Paste the generated key into infra/nango/.env under NANGO_ENCRYPTION_KEY, then start the stack:

6. Verify Installation

Run the automated test suite to confirm your local setup:

Next Steps & Cross-References

Prerequisites

Review account requirements and local tooling details.

Self-Hosting Guide

Examine full .env parameters and production container deployment steps.

Security & Constraints

Learn about pre-live security checklists and architectural invariants.

Adding a Connector

Build a custom connector module conforming to platform standards.