Issue with the "Getting Started" doc
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- django, python
- 领域
- backend, documentation
调研方向
从 django/getting-started/index.html.md 以及报告中确定的 Django 部署检查清单部分开始。在复现部署的同时,将文档中记录的 ALLOWED_HOSTS 配置与 issue 及其链接的示例 repository 中描述的可正常工作的设置进行比较。当教程中记录的设置能够让已部署的 app 成功加载时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I found an issue with this document.
Title: Getting Started
Location: https://fly.io/docs/django/getting-started/ exactly at https://fly.io/docs/django/getting-started/#django-deployment-checklist
Source: https://github.com/superfly/docs/blob/main/django/getting-started/index.html.md
Describe the issue
I started tutorial and i noticed when i deployed it i wasnt looking at the server 8000. But after What i noticed is when i get to the deployment section of the tutorial and I update the ALLOWED_HOSTS it breaks the app.
So when i add import os & APP_NAME = os.environ.get("FLY_APP_NAME") the code still works after saving. But when i add ALLOWED_HOSTS = [f"{APP_NAME}.fly.dev"] it stops working, and i add it exactly how it is in your example repo. I put import os at the top and APP_NAME above allowed hosts.
I put a screenshot of the error im getting in the comment below ind a pdf embedded in the comment
Addtional info
- 主要语言
- MDX
- 星标
- 128
- 派生
- 1.1k
- 平均合并
- 19 小时 53 分钟
- 30 天内合并 PR
- 68
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
superfly/docs 的其他 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 74/100
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
5.0.x backport enhancement
难度 2/5 1-3 小时 新手友好度 63/100
spring-cloud/spring-cloud-function#1507 ·
维护者通常 1 天内回复
-
cost:cheap practicality:seen-in-the-wild severity:medium
难度 2/5 1-3 小时 新手友好度 72/100
fairagro/m4.2_advanced_middleware_api#620 ·
维护者通常 1 天内回复
-
reproduced
难度 2/5 1-3 小时 新手友好度 72/100
anomalyco/opencode#61391 · 1 条评论 ·
维护者通常 1 天内回复
-
ai-driven-fuzzing bug claude Minor
难度 2/5 1-3 小时 新手友好度 77/100
linagora/open-bastion#422 ·
维护者通常 1 天内回复