/lang-sora

Sora AI Video Preview Case Sora AI 视频模版项目,React全栈快速部署

Primary LanguagePLpgSQLApache License 2.0Apache-2.0

Lang-Sora

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

Preview

https://sora.langchat.cn

Deploy with Vercel

Document

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

Get Starter

  1. clone project
git clone https://github.com/TyCoding/lang-sora.git
  1. install dependencies
cd lang-sora
pnpm install
  1. 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

Technology stack

How do I deploy this?

Follow our deployment guides for Vercel, Netlify and Docker for more information.