尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
This repository contains the UFO Park Workshop project, which includes multiple applications and libraries. This guide will help you set up the project locally and run the applications.
Before you begin, ensure you have the following installed on your system:
Clone the repository to your local machine using Git.
Install the project dependencies using Yarn.
Copy apps/api/.env.example to apps/api/.env and fill it in. For the local Docker database, DATABASE_URL and DIRECT_URL can be the same URL.
4. Run the Database with Docker Compose
Start the PostgreSQL database using Docker Compose.查看完整 README ↗This repository contains the UFO Park Workshop project, which includes multiple applications and libraries. This guide will help you set up the project locally and run the applications.
Before you begin, ensure you have the following installed on your system:
Clone the repository to your local machine using Git.
git clone https://github.com/mohammadufo/ufo-park.git
cd ufo-park
Install the project dependencies using Yarn.
yarn install
Copy apps/api/.env.example to apps/api/.env and fill it in. For the local Docker database, DATABASE_URL and DIRECT_URL can be the same URL.
Start the PostgreSQL database using Docker Compose.
docker-compose up -d
After the database is running, apply Prisma migrations to set up the database schema.
yarn prisma migrate dev
You can run the individual applications using the following commands:
Navigate to the apps/api directory and start the API server.
cd apps/api
yarn start:dev
Navigate to the apps/web directory and start the WEB server.
cd apps/web
yarn dev
The API runs on Vercel as a single Vercel Function (apps/api/vercel.json), which works on the free Hobby plan.
-pooler) and the direct one (without -pooler). Drop &channel_binding=require, add &connect_timeout=15 to both, and add &pgbouncer=true to the pooled one.apps/api and Framework Preset to Other. Leave the build settings alone; vercel.json provides them.apps/api/.env.example (DATABASE_URL = pooled, DIRECT_URL = direct), plus HUSKY=0, then deploy.prisma migrate deploy, so the tables are created on the first deploy.apps/api/prisma/seed/demo-data.sql and run it once (20 garages around New York). Or, from your machine with DATABASE_URL and DIRECT_URL pointing at Neon, run cd apps/api && npx prisma db seed.NEXT_PUBLIC_API_URL to the API's Vercel URL and NEXTAUTH_SECRET to the same value as the API's JWT_SECRET.This project is licensed under the MIT License.