Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for main (0.18 sec)

  1. docs/hu/docs/index.md

    * `main`: fájl `main.py` (a Python "modul").
    * `app`: a `main.py`-ban a `app = FastAPI()` sorral létrehozott objektum.
    * `--reload`: kód változtatás esetén újra indítja a szervert. Csak fejlesztés közben használandó.
    
    </details>
    
    ### Ellenőrizd
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  2. docs/es/docs/index.md

    * `main`: el archivo `main.py` (el"modulo" de Python).
    * `app`: el objeto creado dentro de `main.py` con la línea `app = FastAPI()`.
    * `--reload`: hace que el servidor se reinicie después de cambios en el código. Esta opción solo debe ser usada en desarrollo.
    
    </details>
    
    ### Revísalo
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/concepts.md

    You can use simple tools like `htop` to see the CPU and RAM used in your server or the amount used by each process. Or you can use more complex monitoring tools, which may be distributed across servers, etc.
    
    ## Recap
    
    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)
  4. docs/en/docs/fastapi-cli.md

    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    <font color="#3465A4">INFO    </font> Resolved absolute path <font color="#75507B">/home/user/code/awesomeapp/</font><font color="#AD7FA8">main.py</font>
    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)
  5. maven-api-impl/src/test/remote-repo/org/apache/maven/plugins/maven-jar-plugin/0.1/maven-jar-plugin-0.1.pom

            <directory></directory>
            <includes>
              <include>pom.xml</include>
              <include>src/**</include>
            </includes>
          </resource>
          <resource>
            <directory>src/main/resources</directory>
          </resource>
        </resources>
      </build>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/manually.md

        </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()`.
    
        It is equivalent to:
    
        ```Python
        from main import app
        ```
    
    !!! warning
        Uvicorn and others support a `--reload` option that is useful during development.
    
    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)
  7. docs/tr/docs/index.md

    `uvicorn main:app` komutunu şu şekilde açıklayabiliriz:
    
    * `main`: dosya olan `main.py` (yani Python "modülü").
    * `app`: ise `main.py` dosyasının içerisinde `app = FastAPI()` satırında oluşturduğumuz `FastAPI` nesnesi.
    * `--reload`: kod değişikliklerinin ardından sunucuyu otomatik olarak yeniden başlatır. Bu parameteyi sadece geliştirme aşamasında kullanmalıyız.
    
    </details>
    
    ### Şimdi de Kontrol Edelim
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. docs/uk/docs/index.md

    * `main`: файл `main.py` ("Модуль" Python).
    * `app`: об’єкт створений усередині `main.py` рядком `app = FastAPI()`.
    * `--reload`: перезапускає сервер після зміни коду. Використовуйте виключно для розробки.
    
    </details>
    
    ### Перевірте
    
    Відкрийте браузер та введіть адресу <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  9. docs/fr/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>À propos de la commande <code>uvicorn main:app --reload</code> ...</summary>
    
    La commande `uvicorn main:app` fait référence à :
    
    * `main` : le fichier `main.py` (le "module" Python).
    * `app` : l'objet créé à l'intérieur de `main.py` avec la ligne `app = FastAPI()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory).
    
    2. Use `fastapi run` to serve your application in the single file `main.py`.
    
    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)
Back to top