diff --git a/.env.example b/.env.example index 42bdcf2c91..e4e98f072e 100644 --- a/.env.example +++ b/.env.example @@ -18,6 +18,14 @@ BLOB_READ_WRITE_TOKEN=**** POSTGRES_URL=**** +# DB +POSTGRES_USER=demo +POSTGRES_PASSWORD=demo +POSTGRES_DB=chatbot + +DATABASE_URL=postgresql://demo:demo@localhost:5434/chatbot +POSTGRES_URL=postgresql://demo:demo@localhost:5434/chatbot + # Instructions to create a Redis store here: # https://vercel.com/docs/redis -REDIS_URL=**** +REDIS_URL=redis://localhost:6379 diff --git a/.gitignore b/.gitignore index 864e97de91..712fc02d70 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ yarn-error.log* /playwright-report/ /blob-report/ /playwright/* +db-data +redis-data diff --git a/app/(chat)/layout.tsx b/app/(chat)/layout.tsx deleted file mode 100644 index f6d4f5feea..0000000000 --- a/app/(chat)/layout.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { cookies } from "next/headers"; -import Script from "next/script"; -import { Suspense } from "react"; -import { AppSidebar } from "@/components/app-sidebar"; -import { DataStreamProvider } from "@/components/data-stream-provider"; -import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar"; -import { auth } from "../(auth)/auth"; - -export default function Layout({ children }: { children: React.ReactNode }) { - return ( - <> -