Yumihiki
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with
25 additions and
25 deletions
-
docs/de/docs/index.md
-
docs/es/docs/index.md
-
docs/es/docs/tutorial/index.md
-
docs/fr/docs/index.md
-
docs/id/docs/index.md
-
docs/it/docs/index.md
-
docs/ja/docs/deployment/manually.md
-
docs/ja/docs/index.md
-
docs/ja/docs/tutorial/index.md
-
docs/ko/docs/index.md
-
docs/ko/docs/tutorial/index.md
-
docs/pl/docs/index.md
-
docs/pt/docs/deployment.md
-
docs/pt/docs/index.md
-
docs/pt/docs/tutorial/index.md
-
docs/ru/docs/index.md
-
docs/sq/docs/index.md
-
docs/tr/docs/index.md
-
docs/uk/docs/index.md
-
docs/zh/docs/index.md
-
docs/zh/docs/tutorial/index.md
|
|
@ -135,7 +135,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -130,7 +130,7 @@ También vas a necesitar un servidor ASGI para producción cómo <a href="https: |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -41,7 +41,7 @@ Para el tutorial, es posible que quieras instalarlo con todas las dependencias y |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install fastapi[all] |
|
|
|
$ pip install "fastapi[all]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
@ -62,7 +62,7 @@ $ pip install fastapi[all] |
|
|
|
También debes instalar `uvicorn` para que funcione como tu servidor: |
|
|
|
|
|
|
|
``` |
|
|
|
pip install uvicorn[standard] |
|
|
|
pip install "uvicorn[standard]" |
|
|
|
``` |
|
|
|
|
|
|
|
Y lo mismo para cada una de las dependencias opcionales que quieras utilizar. |
|
|
|
|
|
@ -135,7 +135,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -135,7 +135,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -135,7 +135,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -11,7 +11,7 @@ |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -131,7 +131,7 @@ $ pip install fastapi |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -43,7 +43,7 @@ $ uvicorn main:app --reload |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install fastapi[all] |
|
|
|
$ pip install "fastapi[all]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
@ -64,7 +64,7 @@ $ pip install fastapi[all] |
|
|
|
また、サーバーとして動作するように`uvicorn` をインストールします: |
|
|
|
|
|
|
|
``` |
|
|
|
pip install uvicorn[standard] |
|
|
|
pip install "uvicorn[standard]" |
|
|
|
``` |
|
|
|
|
|
|
|
そして、使用したい依存関係をそれぞれ同様にインストールします。 |
|
|
|
|
|
@ -131,7 +131,7 @@ $ pip install fastapi |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -43,7 +43,7 @@ $ uvicorn main:app --reload |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install fastapi[all] |
|
|
|
$ pip install "fastapi[all]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -130,7 +130,7 @@ Na serwerze produkcyjnym będziesz także potrzebował serwera ASGI, np. <a href |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -336,7 +336,7 @@ Você apenas precisa instalar um servidor ASGI compatível como: |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -124,7 +124,7 @@ Você também precisará de um servidor ASGI para produção, tal como <a href=" |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -43,7 +43,7 @@ Para o tutorial, você deve querer instalá-lo com todas as dependências e recu |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install fastapi[all] |
|
|
|
$ pip install "fastapi[all]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
@ -64,7 +64,7 @@ $ pip install fastapi[all] |
|
|
|
Também instale o `uvicorn` para funcionar como servidor: |
|
|
|
|
|
|
|
``` |
|
|
|
pip install uvicorn[standard] |
|
|
|
pip install "uvicorn[standard]" |
|
|
|
``` |
|
|
|
|
|
|
|
E o mesmo para cada dependência opcional que você quiser usar. |
|
|
|
|
|
@ -135,7 +135,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -135,7 +135,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -143,7 +143,7 @@ Uygulamanı kullanılabilir hale getirmek için <a href="http://www.uvicorn.org" |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -135,7 +135,7 @@ You will also need an ASGI server, for production such as <a href="https://www.u |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -131,7 +131,7 @@ $ pip install fastapi |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install uvicorn[standard] |
|
|
|
$ pip install "uvicorn[standard]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
|
|
|
@ -43,7 +43,7 @@ $ uvicorn main:app --reload |
|
|
|
<div class="termy"> |
|
|
|
|
|
|
|
```console |
|
|
|
$ pip install fastapi[all] |
|
|
|
$ pip install "fastapi[all]" |
|
|
|
|
|
|
|
---> 100% |
|
|
|
``` |
|
|
@ -64,7 +64,7 @@ $ pip install fastapi[all] |
|
|
|
并且安装`uvicorn`来作为服务器: |
|
|
|
|
|
|
|
``` |
|
|
|
pip install uvicorn[standard] |
|
|
|
pip install "uvicorn[standard]" |
|
|
|
``` |
|
|
|
|
|
|
|
然后对你想使用的每个可选依赖项也执行相同的操作。 |
|
|
|