Quick Start Local Dev
Quick Start: Local Development
Section titled “Quick Start: Local Development”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.
Prerequisites
Section titled “Prerequisites”Setup Instructions
Section titled “Setup Instructions”-
Clone the repository:
Terminal window git clone https://github.com/your-repo/FasterChat.gitcd FasterChat/app -
Install dependencies:
Terminal window bun install -
Set up environment variables:
Create a
.envfile in theappdirectory and add the following:DATABASE_URL="postgresql://user:password@localhost:5432/fasterchat"# Add other necessary environment variables -
Run database migrations:
Terminal window bun prisma migrate dev -
Start the development server:
Terminal window bun dev
The application will be available at http://localhost:3000.