Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for serve (0.23 sec)

  1. docs/en/docs/contributing.md

    Then you can serve that with the command `serve`:
    
    <div class="termy">
    
    ```console
    // Use the command "serve" after running "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/static-files.md

    # Static Files
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    ```Python hl_lines="2  6"
    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.staticfiles import StaticFiles`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 19:56:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/it/docs/index.md

    * <a href="https://graphene-python.org/" target="_blank"><code>graphene</code></a> - Richiesto per il supporto di `GraphQLApp`.
    
    Usate da FastAPI / Starlette:
    
    * <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - per il server che carica e serve la tua applicazione.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/manually.md

    * <a href="https://pgjones.gitlab.io/hypercorn/" class="external-link" target="_blank">Hypercorn</a>: an ASGI server compatible with HTTP/2 and Trio among other features.
    * <a href="https://github.com/django/daphne" class="external-link" target="_blank">Daphne</a>: the ASGI server built for Django Channels.
    
    ## Server Machine and Server Program
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. scripts/docs.py

        typer.echo("Make sure you run the build-all command first.")
        os.chdir("site")
        server_address = ("", 8008)
        server = HTTPServer(server_address, SimpleHTTPRequestHandler)
        typer.echo("Serving at: http://127.0.0.1:8008")
        server.serve_forever()
    
    
    @app.command()
    def live(
        lang: str = typer.Argument(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  6. docs/en/docs/deployment/concepts.md

    ### In a Remote Server
    
    When you set up a remote server (a cloud server, a virtual machine, etc.) the simplest thing you can do is to use `fastapi run`, Uvicorn (or similar) manually, the same way you do when developing locally.
    
    And it will work and will be useful **during development**.
    
    But if your connection to the server is lost, the **running process** will probably die.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  7. docs/de/docs/contributing.md

    Dieses können Sie dann mit dem Befehl `serve` bereitstellen:
    
    <div class="termy">
    
    ```console
    // Verwenden Sie das Kommando „serve“ nachdem Sie „build-all“ ausgeführt haben.
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. docs/en/docs/reference/staticfiles.md

    # Static Files - `StaticFiles`
    
    You can use the `StaticFiles` class to serve static files, like JavaScript, CSS, images, etc.
    
    Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/).
    
    You can import it directly from `fastapi.staticfiles`:
    
    ```python
    from fastapi.staticfiles import StaticFiles
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 391 bytes
    - Viewed (0)
  9. docs/en/docs/deployment/https.md

        * For this to work, a **single** component (program) running on the server, listening on the **public IP address**, must have **all the HTTPS certificates** in the server.
    * **After** obtaining a secure connection, the communication protocol is **still HTTP**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. docs/zh/docs/contributing.md

    ```
    
    </div>
    
    这样会对每一种语言构建一个独立的文档站点,并最终把这些站点全部打包输出到 `./site/` 目录。
    
    
    
    然后你可以使用命令 `serve` 来运行生成的站点:
    
    <div class="termy">
    
    ```console
    // Use the command "serve" after running "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 11:57:21 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top