devdignesh / twitter-clone

Twitter Clone: A Next.js 14 project with SASS, TailwindCSS, Framer motion, TypeScript, Tanstack Query, MongoDB, Prisma, NextAuth and Zustand
https://twitter-clone-two-puce.vercel.app
0 stars 0 forks source link

Cannot Use Pictures On Docker Self-Host #1

Open wetneybor opened 1 week ago

wetneybor commented 1 week ago

hello! so i wanted to self host this and prisma wasnt working for some fucking reason but ithen saw the docker thing and i could make an account! but i cant use photos. help

devdignesh commented 6 days ago

Hey @wetneybor ! Thanks for trying out the project

For the Prisma part, try running npx prisma generate --schema=./prisma/schema/schema.prisma if the schema isn't loading correctly.

For the images, double-check if your .env file has the correct Supabase settings. you'll need to create three public buckets in Supabase storage (images, banners, avatars) with policies config. If you're unsure, you can refer to this guide: Supabase Image Storage.

Let me know if you need more help!