This is the case site for Sora AI videos. Use this template to help you quickly build a Sora AI case project.
Sora AI's api is not available, all videos in lang-sora are from OpenAI official
The video data in the website comes from twitter, if you need to see the lang-sora.sql file
This project is based on T3 Stack. If you want to have a deeper understanding of the project architecture, you can read the official documentation.
The UI part is based on DaisyUI to quickly build a beautiful tailwind page
- clone project
git clone https://github.com/TyCoding/lang-sora.git
- install dependencies
cd lang-sora
pnpm install
- set database
Supports the use of postgres-type databases or related providers.
You can use the start-database.sh
script in the project to quickly build the postgres database through docker,
Tips: The start-database.sh
script will use the database login and password configuration in the .env
file
## If you want to build postgres database using docker
./start-database.sh
## set database info
## edit `.env`
## Init database tables (base prisma, see `prisma/prisma.prisma`)
## This a build script
pnpm run db:push
## generate prisma table object
pnpm run postinstall
Follow our deployment guides for Vercel, Netlify and Docker for more information.