Skip to content

Quick Start Local Dev

This guide is for developers who want to run FasterChat in a local development environment. This is ideal for contributing to the project or for running on systems where Docker is not available.

  • Bun installed on your system.
  • Node.js (LTS version) installed.
  • A running PostgreSQL database.
  1. Clone the repository:

    Terminal window
    git clone https://github.com/your-repo/FasterChat.git
    cd FasterChat/app
  2. Install dependencies:

    Terminal window
    bun install
  3. Set up environment variables:

    Create a .env file in the app directory and add the following:

    DATABASE_URL="postgresql://user:password@localhost:5432/fasterchat"
    # Add other necessary environment variables
  4. Run database migrations:

    Terminal window
    bun prisma migrate dev
  5. Start the development server:

    Terminal window
    bun dev

The application will be available at http://localhost:3000.