Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for main (0.12 sec)

  1. docs/ru/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Скопируйте непосредственно файл `main.py` в директорию `/code` (не указывайте `./app`).
    
    2. При запуске Uvicorn укажите ему, что объект `app` нужно импортировать из файла `main` (вместо импортирования из `app.main`).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  2. docs/bucket/notifications/README.md

    ### Step 3: Test on NATS
    
    If you use NATS server, check out this sample program below to log the bucket notification added to NATS.
    
    ```go
    package main
    
    // Import Go and NATS packages
    import (
     "log"
     "runtime"
    
     "github.com/nats-io/nats.go"
    )
    
    func main() {
    
     // Create server connection
     natsConnection, _ := nats.Connect("nats://yourusername:yoursecret@localhost:4222")
     log.Println("Connected")
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // empty string if the object was updated through the main resource. The
      // value of this field is used to distinguish between managers, even if they
      // share the same name. For example, a status update will be distinct from a
      // regular update using the same manager name.
      // Note that the APIVersion field is not related to the Subresource field and
      // it always corresponds to the version of the main resource.
      optional string subresource = 8;
    }
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  4. .bazelrc

    build:windows --copt=/D_USE_MATH_DEFINES
    build:windows --host_copt=/D_USE_MATH_DEFINES
    
    # Windows has a relatively short command line limit, which TF has begun to hit.
    # See https://docs.bazel.build/versions/main/windows.html
    build:windows --features=compiler_param_file
    build:windows --features=archive_param_file
    
    # Speed Windows compile times. Available in VS 16.4 (we are on 16.11). See
    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)
Back to top