Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Command (0.73 sec)

  1. docs/en/docs/fastapi-cli.md

    # FastAPI CLI
    
    **FastAPI CLI** is a command line program `fastapi` that you can use to serve your FastAPI app, manage your FastAPI project, and more.
    
    When you install FastAPI (e.g. with `pip install fastapi`), it includes a package called `fastapi-cli`, this package provides the `fastapi` command in the terminal.
    
    To run your FastAPI app for development, you can use the `fastapi dev` command:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. doc/next/3-tools.md

    ## Tools {#tools}
    
    ### Go command {#go-command}
    
    Setting the `GOROOT_FINAL` environment variable no longer has an effect
    ([#62047](https://go.dev/issue/62047)).
    Distributions that install the `go` command to a location other than
    `$GOROOT/bin/go` should install a symlink instead of relocating
    or copying the `go` binary.
    
    ### Vet {#vet}
    
    The `go vet` subcommand now includes the
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri May 03 01:02:40 GMT 2024
    - 977 bytes
    - Viewed (0)
  3. docs/en/docs/deployment/docker.md

    When a **container** is started, it will run that command/program (although you can override it and make it run a different command/program).
    
    A container is running as long as the **main process** (command or program) is running.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/manually.md

    # Run a Server Manually
    
    ## Use the `fastapi run` Command
    
    In short, use `fastapi run` to serve your FastAPI application:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    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. README.md

    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>About the command <code>fastapi dev main.py</code>...</summary>
    
    The command `fastapi dev` reads your `main.py` file, detects the **FastAPI** app in it, and starts a server using <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    Alternatively, if you don't have a way to provide a command line option like `--root-path` or equivalent, you can set the `root_path` parameter when creating your FastAPI app:
    
    ```Python hl_lines="3"
    {!../../../docs_src/behind_a_proxy/tutorial002.py!}
    ```
    
    Passing the `root_path` to `FastAPI` would be the equivalent of passing the `--root-path` command line option to Uvicorn or Hypercorn.
    
    ### About `root_path`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  7. docs/distributed/CONFIG.md

    server arguments and configuration via a YAML configuration file. This YAML configuration describes everything that can be configured in a MinIO setup, such as '--address', '--console-address' and command line arguments for the MinIO server.
    
    Historically everything to MinIO was provided via command arguments for the hostnames and the drives via an ellipses syntax such as `minio server http://host{1...4}/disk{1...4}` this requirement added an additional burden to have sequential hostnames for...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. .bazelrc

    build:android --dynamic_mode=off
    
    # Sets the default Apple platform to macOS.
    build:macos --apple_platform_type=macos
    
    # gRPC on MacOS requires this #define
    build:macos --copt=-DGRPC_BAZEL_BUILD
    
    # Avoid hitting command line argument limit
    build:macos --features=archive_param_file
    
    # Settings for MacOS on ARM CPUs.
    build:macos_arm64 --cpu=darwin_arm64
    build:macos_arm64 --macos_minimum_os=11.0
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  9. docs/en/docs/index.md

    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>About the command <code>fastapi dev main.py</code>...</summary>
    
    The command `fastapi dev` reads your `main.py` file, detects the **FastAPI** app in it, and starts a server using <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/settings.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    !!! tip
        To set multiple env vars for a single command just separate them with a space, and put them all before the command.
    
    And then the `admin_email` setting would be set to `"******@****.***"`.
    
    The `app_name` would be `"ChimichangApp"`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top