Issue with the "Getting Started" doc

オープン
#1,787 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
django, python

調査の方向性

django/getting-started/index.html.md と、レポートで特定された Django deployment checklist のセクションから始めます。deployment を再現し、その際に、文書化されている ALLOWED_HOSTS の設定と、issue およびリンク先のサンプルリポジトリに記載されている動作する設定を比較します。チュートリアルに記載された設定でデプロイ済みのアプリを正常に読み込めれば完了です。

索引モデルが 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分
マージ済み PR(30日)
68

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

superfly/docs のほかの issue

superfly/docs の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。