Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Command (0.2 sec)

  1. scripts/docs.py

            p.map(build_lang, langs)
    
    
    @app.command()
    def update_languages() -> None:
        """
        Update the mkdocs.yml file Languages section including all the available languages.
        """
        update_config()
    
    
    @app.command()
    def serve() -> None:
        """
        A quick server to preview a built site with translations.
    
        For development, prefer the command live (or just mkdocs serve).
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  2. docs/zh/docs/deployment/deta.md

    在新的 Terminal 里,用以下命令确认 CLI 是否正确安装:
    
    <div class="termy">
    
    ```console
    $ deta --help
    
    Deta command line interface for managing deta micros.
    Complete documentation available at https://docs.deta.sh
    
    Usage:
      deta [flags]
      deta [command]
    
    Available Commands:
      auth        Change auth settings for a deta micro
    
    ...
    ```
    
    </div>
    
    !!! tip "提示"
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sun Jan 28 18:06:55 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. 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.
    Make sure you run the build-all command first.
    Serving at: http://127.0.0.1:8008
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/em/docs/contributing.md

    ⤴️ 👆 💪 🍦 👈 ⏮️ 📋 `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.
    Make sure you run the build-all command first.
    Serving at: http://127.0.0.1:8008
    ```
    
    </div>
    
    ## 💯
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  5. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  6. docs/en/docs/index.md

    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>About the command <code>uvicorn main:app --reload</code>...</summary>
    
    The command `uvicorn main:app` refers to:
    
    * `main`: the file `main.py` (the Python "module").
    * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. docs/pt/docs/contributing.md

        ```console
        $ which pip
    
        some/directory/fastapi/env/bin/pip
        ```
    
        </div>
    
    === "Windows PowerShell"
    
        <div class="termy">
    
        ```console
        $ Get-Command pip
    
        some/directory/fastapi/env/bin/pip
        ```
    
        </div>
    
    Se ele exibir o binário `pip` em `env/bin/pip` então funcionou. 🎉
    
    
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/generate-clients.md

    ---> 100%
    ```
    
    </div>
    
    #### Generate Client Code
    
    To generate the client code you can use the command line application `openapi-ts` that would now be installed.
    
    Because it is installed in the local project, you probably wouldn't be able to call that command directly, but you would put it on your `package.json` file.
    
    It could look like this:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Waiting for application startup.
    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note
        The command `uvicorn main:app` refers to:
    
        * `main`: the file `main.py` (the Python "module").
        * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 9.2K 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top