Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for entrypoint (0.06 seconds)

  1. dockerscripts/docker-entrypoint.sh

    Harshavardhana <******@****.***> 1699046298 -0700
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Click Count (0)
  2. docs/ja/docs/fastapi-cli.md

    ただし、使用するアプリを明示的に設定することもできます。
    
    ## `pyproject.toml` でアプリの `entrypoint` を設定 { #configure-the-app-entrypoint-in-pyproject-toml }
    
    `pyproject.toml` に次のように、アプリの場所を設定できます:
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    この `entrypoint` により、`fastapi` コマンドは次のようにアプリを import する必要があると認識します:
    
    ```python
    from main import app
    ```
    
    もしコード構成が次のような場合:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. docs/zh/docs/fastapi-cli.md

    `fastapi` CLI 会尝试自动检测要运行的 FastAPI 应用,默认假设它是文件 `main.py` 中名为 `app` 的对象(或少数其他变体)。
    
    但你也可以显式配置要使用的应用。
    
    ## 在 `pyproject.toml` 中配置应用的 `entrypoint` { #configure-the-app-entrypoint-in-pyproject-toml }
    
    你可以在 `pyproject.toml` 文件中配置应用的位置,例如:
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    这个 `entrypoint` 会告诉 `fastapi` 命令按如下方式导入应用:
    
    ```python
    from main import app
    ```
    
    如果你的代码结构如下:
    
    ```
    .
    ├── backend
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. docs/ko/docs/fastapi-cli.md

    하지만 사용할 앱을 명시적으로 구성할 수도 있습니다.
    
    ## `pyproject.toml`에서 앱 `entrypoint` 구성하기 { #configure-the-app-entrypoint-in-pyproject-toml }
    
    `pyproject.toml` 파일에서 앱이 어디에 있는지 다음과 같이 구성할 수 있습니다:
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    이 `entrypoint`는 `fastapi` 명령어에 다음과 같이 앱을 임포트하라고 알려줍니다:
    
    ```python
    from main import app
    ```
    
    코드 구조가 다음과 같다면:
    
    ```
    .
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. docs/en/docs/fastapi-cli.md

    But you can configure explicitly the app to use.
    
    ## Configure the app `entrypoint` in `pyproject.toml` { #configure-the-app-entrypoint-in-pyproject-toml }
    
    You can configure where your app is located in a `pyproject.toml` file like:
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    That `entrypoint` will tell the `fastapi` command that it should import the app like:
    
    ```python
    from main import app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/fastapi-cli.md

    `fastapi` CLI 會嘗試自動偵測要執行的 FastAPI 應用程式,預設假設它是檔案 `main.py` 中名為 `app` 的物件(或其他幾種變體)。
    
    不過你也可以明確設定要使用的 app。
    
    ## 在 `pyproject.toml` 中設定應用程式的 `entrypoint` { #configure-the-app-entrypoint-in-pyproject-toml }
    
    你可以在 `pyproject.toml` 檔案中指定你的 app 位置,例如:
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    這個 `entrypoint` 會告訴 `fastapi` 指令應該像這樣匯入 app:
    
    ```python
    from main import app
    ```
    
    如果你的程式碼結構是這樣:
    
    ```
    .
    ├── backend
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. Dockerfile

    COPY ./minio-${TARGETARCH}.${RELEASE}.minisig /usr/bin/minio.minisig
    COPY ./minio-${TARGETARCH}.${RELEASE}.sha256sum /usr/bin/minio.sha256sum
    
    COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
    
    ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
    
    VOLUME ["/data"]
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Oct 19 08:22:05 GMT 2025
    - 425 bytes
    - Click Count (0)
  8. guava-gwt/src/com/google/common/ForceGuavaCompilationEntryPoint.java

     * limitations under the License.
     */
    
    package com.google.common;
    
    import com.google.gwt.core.client.EntryPoint;
    
    /**
     * A dummy entry point to convince Maven to compile our classes.
     *
     * @author Chris Povirk
     */
    public class ForceGuavaCompilationEntryPoint implements EntryPoint {
      @Override
      public void onModuleLoad() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 892 bytes
    - Click Count (0)
  9. guava-gwt/test/com/google/common/GuavaTestsEntryPoint.java

     * limitations under the License.
     */
    
    package com.google.common;
    
    import com.google.gwt.core.client.EntryPoint;
    
    /**
     * A dummy entry point for our tests.
     *
     * @author Chris Povirk
     */
    public class GuavaTestsEntryPoint implements EntryPoint {
      @Override
      public void onModuleLoad() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 854 bytes
    - Click Count (0)
  10. tests/compose.yml

        environment:
          - TZ=Asia/Shanghai
          - GS_PASSWORD=Gaussdb@123
          - GS_CLUSTER_NAME=opengauss_cluster
          - PGDATA=/var/lib/opengauss/data
        entrypoint: ""
        command: |-
          /bin/sh -c 'set -euo pipefail;
          /usr/local/bin/entrypoint.sh gaussdb &
          counter=1;
          while [ "$$counter" -le 20 ]; do
            if su - omm -c "gsql -U omm -d postgres -c \"SELECT 1;\""; then
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Aug 04 04:07:30 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top