Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] 希望更新本地dev教程 #226

Closed
himesamanoyume opened this issue Jul 21, 2024 · 3 comments
Closed

[Help] 希望更新本地dev教程 #226

himesamanoyume opened this issue Jul 21, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@himesamanoyume
Copy link

描述你遇到的问题
cf正常部署了,想在本地进行dev,跑起来了但还是有很多地方没有配置正确,能否更新一个文档教学本地搭建环境呢

复现步骤

  1. xxxxx
  2. xxx

期望行为
希望更新本地dev教程

截图

额外信息

@himesamanoyume himesamanoyume added the help wanted Extra attention is needed label Jul 21, 2024
@OXeu
Copy link
Collaborator

OXeu commented Jul 21, 2024

由于引入了动态配置,现在 S3 相关的环境变量变成了强制要求,如果之前没有配置 S3 的相关变量,可以先尝试参考部署文档相同的步骤新建一个 R2 存储桶用于本地开发

如果除此以外还遇到了其他的问题,请详细说明,同时欢迎 pr 更新文档

@himesamanoyume
Copy link
Author

我现在遇到了这么个情况,实在不知道哪里出了问题;我用了两个仓库,一个是Rin未改动过的,一个是我改动过的,分别部署在vercel和cf上,/test是我用feeds的page复制了一份改了一下得来的,worker未改动

情况 原版vercel 原版cf 改过的vercel 改过的cf 改过的本地dev
构建指令 turbo build bun b turbo build bun b bun b
输出路径 /dist /client/dist /dist /client/dist /client/dist
根目录 /client / /client / /
url / / /test /test /test
状态 200 200 404 200 200
worker监测日志流 接收到GET请求 接收到GET请求 什么都没接收到 接收到GET请求 接收到GET请求

@OXeu
Copy link
Collaborator

OXeu commented Jul 27, 2024

vercel对于路径索引需要单独配置一个 config 文件的,你找一下vercel文档应该有

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants