Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,942 for termy (0.03 sec)

  1. docs/zh/docs/advanced/behind-a-proxy.md

    然后,它把请求重定位到运行在 `http://127.0.0.1:8000` 上的 Uvicorn。
    
    现在,启动 Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    接下来,使用 Uvicorn 启动应用,并使用 `--root-path` 选项:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/oauth2-jwt.md

    ## `python-jose` installieren.
    
    Wir müssen <abbr title="JOSE: JavaScript Object Signing and Encryption">`python-jose`</abbr> installieren, um die JWT-Tokens in Python zu generieren und zu verifizieren:
    
    <div class="termy">
    
    ```console
    $ pip install "python-jose[cryptography]"
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/first-steps.md

    # Primeros pasos
    
    Un archivo muy simple de FastAPI podría verse así:
    
    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copia eso a un archivo `main.py`.
    
    Corre el servidor en vivo:
    
    <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)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. docs/de/docs/deployment/server-workers.md

    ## Gunicorn und Uvicorn installieren
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]" gunicorn
    
    ---> 100%
    ```
    
    </div>
    
    Dadurch wird sowohl Uvicorn mit zusätzlichen `standard`-Packages (um eine hohe Leistung zu erzielen) als auch Gunicorn installiert.
    
    ## Gunicorn mit Uvicorn-Workern ausführen
    
    Dann können Sie Gunicorn ausführen mit:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. docs/fr/docs/deployment/docker.md

    * Construisez votre image FastAPI :
    
    <div class="termy">
    
    ```console
    $ docker build -t myimage .
    
    ---> 100%
    ```
    
    </div>
    
    ## Démarrer le conteneur Docker
    
    * Exécutez un conteneur basé sur votre image :
    
    <div class="termy">
    
    ```console
    $ docker run -d --name mycontainer -p 80:80 myimage
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. docs/vi/docs/tutorial/index.md

    Tất cả các code block có thể được sao chép và sử dụng trực tiếp (chúng thực chất là các tệp tin Python đã được kiểm thử).
    
    Để chạy bất kì ví dụ nào, sao chép code tới tệp tin `main.py`, và bắt đầu `uvicorn` với:
    
    <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)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/pl/docs/tutorial/first-steps.md

    # Pierwsze kroki
    
    Najprostszy plik FastAPI może wyglądać tak:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    Skopiuj to do pliku `main.py`.
    
    Uruchom serwer:
    
    <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]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/debugging.md

    `__name__ == "__main__"` の主な目的は、ファイルが次のコマンドで呼び出されたときに実行されるコードを用意することです:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ただし、次のように、別のファイルからインポートされるときには呼び出されません:
    
    ```Python
    from myapp import app
    ```
    
    #### より詳しい説明
    
    ファイルの名前が `myapp.py` だとします。
    
    以下の様に実行する場合:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/settings.md

    您可以在 shell 中创建和使用环境变量,而无需使用 Python:
    
    //// tab | Linux、macOS、Windows Bash
    
    <div class="termy">
    
    ```console
    // 您可以创建一个名为 MY_NAME 的环境变量
    $ export MY_NAME="Wade Wilson"
    
    // 然后您可以与其他程序一起使用它,例如
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // 创建一个名为 MY_NAME 的环境变量
    $ $Env:MY_NAME = "Wade Wilson"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. docs/zh/docs/deployment/server-workers.md

    ## 安装 Gunicorn 和 Uvicorn
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]" gunicorn
    
    ---> 100%
    ```
    
    </div>
    
    这将安装带有`standard`扩展包(以获得高性能)的 Uvicorn 和 Gunicorn。
    
    ## Run Gunicorn with Uvicorn Workers
    
    接下来你可以通过以下命令运行Gunicorn:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top