- Notifications
You must be signed in to change notification settings - Fork24
TouchGAL是立足于分享快乐的一站式Galgame文化社区, 为Gal爱好者提供一片净土!
License
NotificationsYou must be signed in to change notification settings
KUN1007/kun-touchgal-next
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
TouchGal 是一个一站式 Galgame 文化社区。提供Galgame 论坛、Galgame 下载等服务。承诺永久免费, 高质量。为Galgame 爱好者提供一片净土!
如果要反馈错误, 请您加入 TouchGal 的官方 Discord 服务器
如果有对 Web 开发技术 (Node.js, Nuxt, Next.js, SvelteKit, SolidStart 等) 感兴趣的朋友们, 可以加入本项目的 Telegram 开发群组
确保本地安装有 Node.js, pnpm, PostgreSQL, Redis 环境
- 使用
git clone拉取本项目至本地目录 - 参考项目根目录的
.env.example文件,新建.env文件,并自行填写环境变量(postgresql的本地连接配置) - 初次运行本项目,可执行
pnpm prisma:push创建此项目所使用的本地数据库 - 使用
pnpm dev即可运行
# 数据库 URL, 我们使用 psqlKUN_DATABASE_URL="postgresql://postgres:kunloveren@localhost:5432/touchgal?schema=public"# 网站 URL, 不变即可KUN_VISUAL_NOVEL_SITE_URL="https://www.touchgal.us"# 开发环境 URL, 不变即可NEXT_PUBLIC_KUN_PATCH_ADDRESS_DEV="http://127.0.0.1:3000"NEXT_PUBLIC_KUN_PATCH_ADDRESS_PROD="https://image.touchgal.moyu.moe"# 本地 Redis 端口和地址, 一般无需变动REDIS_HOST='127.0.0.1'REDIS_PORT='6379'# jwt 配置, 开发环境无需变动JWT_ISS='touchgal'JWT_AUD='touchgal_admin'JWT_SECRET='moemoekungalgamekunisthecutest!chinorensukiazkhx'# NODE_ENV, 开发环境无需变动NODE_ENV="development"# 邮件服务地址KUN_VISUAL_NOVEL_EMAIL_FROM="鲲 Galgame 补丁"KUN_VISUAL_NOVEL_EMAIL_HOST="moyu.moe"KUN_VISUAL_NOVEL_EMAIL_PORT='587'KUN_VISUAL_NOVEL_EMAIL_ACCOUNT="auth@moyu.moe"KUN_VISUAL_NOVEL_EMAIL_PASSWORD="莲最可爱!"# S3 相关配置KUN_VISUAL_NOVEL_S3_STORAGE_ACCESS_KEY_ID="kkkkkkkkkkkkkkkkkkkkkkkkkkkk"KUN_VISUAL_NOVEL_S3_STORAGE_SECRET_ACCESS_KEY="kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk"KUN_VISUAL_NOVEL_S3_STORAGE_BUCKET_NAME="kun"KUN_VISUAL_NOVEL_S3_STORAGE_ENDPOINT="https://moyu.moe"KUN_VISUAL_NOVEL_S3_STORAGE_REGION="us-west-001"NEXT_PUBLIC_KUN_VISUAL_NOVEL_S3_STORAGE_URL="https://touchgal-patch.moyu.moe"# 图床相关配置KUN_VISUAL_NOVEL_IMAGE_BED_HOST="touchgal-image.moyu.moe"KUN_VISUAL_NOVEL_IMAGE_BED_URL="https://touchgal-image.moyu.moe"
如果您的更改涉及到对项目源码的变动,请务必在本地将项目运行成功, 自行测试无误后再 Pull Request, 否则会严重阻碍代码审计工作
本项目由鲲 Galgame 补丁 - kun-galgame-patch-next 修改而来, 原仓库地址
https://github.com/KUN1007/kun-galgame-patch-next
本项目遵从AGPL-3.0 开源协议, 进行任何的修改分发时请注明原始仓库与作者地址
About
TouchGAL是立足于分享快乐的一站式Galgame文化社区, 为Gal爱好者提供一片净土!
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
