Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🌐 Add Ukrainian translation fordocs/uk/docs/fastapi-cli.md#13020

Merged
alejsdev merged 4 commits intofastapi:masterfrom
ykertytsky:master
Dec 17, 2024
Merged

🌐 Add Ukrainian translation fordocs/uk/docs/fastapi-cli.md#13020
alejsdev merged 4 commits intofastapi:masterfrom
ykertytsky:master

Conversation

@ykertytsky
Copy link
Contributor

@ykertytskyykertytsky commentedDec 1, 2024
edited
Loading

Hey guys! This would be my first (hopefully) successful contribution to fastapi docs :)

@github-actionsgithub-actionsbot added the lang-allTranslations labelDec 1, 2024
@github-actions
Copy link
Contributor

@alejsdevalejsdev added awaiting-review lang-ukUkrainian translations labelsDec 9, 2024
@@ -0,0 +1,83 @@
# FastAPI CLI

**FastAPI CLI** це програма командного рядка, який Ви можете використовувати, щоб обслуговувати ваш додаток FastAPI, керувати Вашими FastApi проектами, тощо.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
**FastAPI CLI** це програма командного рядка,який Ви можете використовувати, щоб обслуговувативаш додаток FastAPI, керувати Вашими FastApi проектами, тощо.
**FastAPI CLI** це програма командного рядка,яку Ви можете використовувати, щоб обслуговуватиВаш додаток FastAPI, керувати Вашими FastApi проектами, тощо.


Коли ви встановлюєте FastApi (тобто виконуєте `pip install "fastapi[standard]"`), ви також встановлюєте пакунок `fastapi-cli`, цей пакунок дозволяє надає команду `fastapi` в терміналі.

Для запуску Вашого FastAPI проекту для розробки, ви можете скористатись командою `fastapi dev`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
Для запуску Вашого FastAPI проекту для розробки,ви можете скористатись командою`fastapi dev`:
Для запуску Вашого FastAPI проекту для розробки,Ви можете скористатись командою`fastapi dev`:


Програма командного рядка `fastapi` це **FastAPI CLI**.

FastAPI CLI приймає шлях до Вашої Python програми (e.g. `main.py`) і автоматично виявляє екземпляр `FastAPI` (зазвичай названий `app`), обирає коректний процес імпорту, а потім обслуговує його.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
FastAPI CLI приймає шлях до Вашої Python програми (e.g.`main.py`) і автоматично виявляє екземпляр`FastAPI` (зазвичай названий`app`), обирає коректний процес імпорту, а потім обслуговує його.
FastAPI CLI приймає шлях до Вашої Python програми (напр.`main.py`) і автоматично виявляє екземпляр`FastAPI` (зазвичай названий`app`), обирає коректний процес імпорту, а потім обслуговує його.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

or wordНаприклад fully


Натомість, для запуску у продакшн використовуйте `fastapi run`. 🚀

Всередині, **FastAPI CLI** використовує <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a>, високопродуктивний, production-ready, ASGI cервер. 😎
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
Всередині,**FastAPI CLI** використовує <ahref="https://www.uvicorn.org"class="external-link"target="_blank">Uvicorn</a>, високопродуктивний, production-ready, ASGI cервер. 😎
Всередині**FastAPI CLI** використовує <ahref="https://www.uvicorn.org"class="external-link"target="_blank">Uvicorn</a>, високопродуктивний, production-ready, ASGI cервер. 😎


Виконання `fastapi run` запустить FastAPI у продакшн-режимі за замовчуванням.

За замовчуванням, **автоматичне перезавантаження** вимкнене. Воно також прослуховує IP-адресу `0.0.0.0`, що означає всі доступні IP адреси, тим самим даючи змогу будь-кому комунікувати з девайсом. Так ви зазвичай будуте запускати його у продакшн, наприклад у контейнері.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
За замовчуванням,**автоматичне перезавантаження** вимкнене. Воно також прослуховує IP-адресу`0.0.0.0`, що означає всі доступні IP адреси, тим самим даючи змогу будь-кому комунікувати з девайсом. Так ви зазвичайбудуте запускати його у продакшн, наприклад у контейнері.
За замовчуванням,**автоматичне перезавантаження** вимкнене. Воно також прослуховує IP-адресу`0.0.0.0`, що означає всі доступні IP адреси, тим самим даючи змогу будь-кому комунікувати з девайсом. Так ви зазвичайбудете запускати його у продакшн, наприклад у контейнері.


За замовчуванням, **автоматичне перезавантаження** вимкнене. Воно також прослуховує IP-адресу `0.0.0.0`, що означає всі доступні IP адреси, тим самим даючи змогу будь-кому комунікувати з девайсом. Так ви зазвичай будуте запускати його у продакшн, наприклад у контейнері.

В більшості випадків ви можете (і маєте) мати "termination proxy" який обробляє HTTPS для вас, це залежить від способу розгортання вашого додатку, ваш провайдер може зробити це для вас, або вам потрібно налаштувати його самостійно.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
В більшості випадківви можете (і маєте) мати "termination proxy"який обробляє HTTPS для вас, це залежить від способу розгортання вашого додатку,ваш провайдер може зробити це для вас, або вам потрібно налаштувати його самостійно.
В більшості випадківВи можете (і маєте) мати "termination proxy",який обробляє HTTPS для вас, це залежить від способу розгортання вашого додатку,Ваш провайдер може зробити це для вас, або вам потрібно налаштувати його самостійно.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@ykertytsky Great job. There are just several typos.


/// tip

Ви можете дізнатись більше про це у [документації для розгортування](deployment/index.md){.internal-link target=_blank}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
Ви можете дізнатись більше про це у[документаціїдля розгортування](deployment/index.md){.internal-link target=_blank}.
Ви можете дізнатись більше про це у[документаціїпро розгортування](deployment/index.md){.internal-link target=_blank}.

Copy link
Contributor

@mezgoodlemezgoodle left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@ykertytsky , great job! Agree with@rostik1410 , apply his suggestions please.

@ykertytsky
Copy link
ContributorAuthor

@ykertytsky , great job! Agree with@rostik1410 , apply his suggestions please.

Thank you! Critique is taken to account, will fix mentioned issues shortly.

Co-authored-by: Rostyslav  <rostik1410@users.noreply.github.com>
@github-actions
Copy link
Contributor

@ykertytsky
Copy link
ContributorAuthor

Okay,@rostik1410@mezgoodle all mentioned typos and mistakes corrected succesfully🫡

mezgoodle and rostik1410 reacted with heart emoji

@github-actions
Copy link
Contributor

@ykertytsky
Copy link
ContributorAuthor

@alejsdev Hey! I am pretty sure we are done here :)

@rostik1410
Copy link
Contributor

@alejsdev Hey! I am pretty sure we are done here :)

sometimes a merge takes a lot of time, don't worry about it)

@alejsdevalejsdev merged commit2b78866 intofastapi:masterDec 17, 2024
6 checks passed
@alejsdev
Copy link
Member

Thanks for your contribution!@ykertytsky 🤓
And thanks for the help@mezgoodle@rostik1410 💯

gerry-sabar pushed a commit to gerry-sabar/fastapi that referenced this pull requestDec 18, 2024
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull requestJan 23, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

2 more reviewers

@rostik1410rostik1410rostik1410 approved these changes

@mezgoodlemezgoodlemezgoodle approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

approved-2lang-allTranslationslang-ukUkrainian translations

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@ykertytsky@rostik1410@alejsdev@mezgoodle

Comments


[8]ページ先頭

©2009-2026 Movatter.jp