Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 134 for Press (0.03 sec)

  1. docs/en/docs/advanced/websockets.md

    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    You will see a simple page like:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/first-steps.md

    ```
    
    これを`main.py`にコピーします。
    
    ライブサーバーを実行します:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    <span style="color: green;">INFO</span>:     Started server process [28722]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/websockets.md

    Wenn Ihre Datei `main.py` heißt, führen Sie Ihre Anwendung so aus:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Öffnen Sie Ihren Browser unter <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Sie sehen eine einfache Seite wie:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/sub-applications.md

    ```
    
    ### 查看文档
    
    如果主文件是 `main.py`,则用以下 `uvicorn` 命令运行主应用:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    查看文档 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs。</a>
    
    下图显示的是主应用 API 文档,只包括其自有的*路径操作*。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/ja/docs/deployment/manually.md

    //// tab | Uvicorn
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ////
    
    //// tab | Hypercorn
    
    <div class="termy">
    
    ```console
    $ hypercorn main:app --bind 0.0.0.0:80
    
    Running on 0.0.0.0:8080 over http (CTRL + C to quit)
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/sub-applications.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Und öffnen Sie die Dokumentation unter <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/behind-a-proxy.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Falls Sie Hypercorn verwenden, das hat auch die Option `--root-path`.
    
    /// note | "Technische Details"
    
    Die ASGI-Spezifikation definiert einen `root_path` für diesen Anwendungsfall.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/behind-a-proxy.md

    ### 提供 `root_path`
    
    为此,要以如下方式使用命令行选项 `--root-path`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Hypercorn 也支持 `--root-path `选项。
    
    /// note | "技术细节"
    
    ASGI 规范定义的 `root_path` 就是为了这种用例。
    
    并且 `--root-path` 命令行选项支持 `root_path`。
    
    ///
    
    ### 查看当前的 `root_path`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. docs/ja/docs/advanced/websockets.md

    ## 試してみる
    
    ファイル名が `main.py` である場合、以下の方法でアプリケーションを実行します。
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ブラウザで <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a> を開きます。
    
    次のようなシンプルなページが表示されます。
    
    <img src="/img/tutorial/websockets/image01.png">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. docs/pl/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    <span style="color: green;">INFO</span>:     Started server process [28722]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top