@@ -107,11 +109,11 @@ Available Commands:
!!! tip
- If you have problems installing the CLI, check the official Deta docs.
+ Si vous rencontrez des problĂšmes pour installer le CLI, consultez la documentation officielle de Deta (en anglais).
-## Login with the CLI
+## Connexion avec le CLI
-Now login to Deta from the CLI with:
+Maintenant, connectez-vous à Deta depuis le CLI avec :
@@ -124,11 +126,11 @@ Logged in successfully.
-This will open a web browser and authenticate automatically.
+Cela ouvrira un navigateur web et permettra une authentification automatique.
-## Deploy with Deta
+## Déployer avec Deta
-Next, deploy your application with the Deta CLI:
+Ensuite, déployez votre application avec le CLI de Deta :
@@ -158,7 +160,7 @@ Successfully installed fastapi-0.61.1 pydantic-1.7.2 starlette-0.13.6
-You will see a JSON message similar to:
+Vous verrez un message JSON similaire Ă Â :
```JSON hl_lines="4"
{
@@ -171,13 +173,14 @@ You will see a JSON message similar to:
```
!!! tip
- Your deployment will have a different `"endpoint"` URL.
+ Votre déploiement aura une URL `"endpoint"` différente.
-## Check it
+## Vérifiez
-Now open your browser in your `endpoint` URL. In the example above it was `https://qltnci.deta.dev`, but yours will be different.
+Maintenant, dans votre navigateur ouvrez votre URL `endpoint`. Dans l'exemple ci-dessus, c'était
+`https://qltnci.deta.dev`, mais la vÎtre sera différente.
-You will see the JSON response from your FastAPI app:
+Vous verrez la réponse JSON de votre application FastAPI :
```JSON
{
@@ -185,17 +188,17 @@ You will see the JSON response from your FastAPI app:
}
```
-And now go to the `/docs` for your API, in the example above it would be `https://qltnci.deta.dev/docs`.
+Et maintenant naviguez vers `/docs` dans votre API, dans l'exemple ci-dessus ce serait `https://qltnci.deta.dev/docs`.
-It will show your docs like:
+Vous verrez votre documentation comme suit :
-## Enable public access
+## Activer l'accĂšs public
-By default, Deta will handle authentication using cookies for your account.
+Par défaut, Deta va gérer l'authentification en utilisant des cookies pour votre compte.
-But once you are ready, you can make it public with:
+Mais une fois que vous ĂȘtes prĂȘt, vous pouvez le rendre public avec :
@@ -207,34 +210,36 @@ Successfully disabled http auth
-Now you can share that URL with anyone and they will be able to access your API. đ
+Maintenant, vous pouvez partager cette URL avec n'importe qui et ils seront en mesure d'accĂ©der Ă votre API. đ
## HTTPS
-Congrats! You deployed your FastAPI app to Deta! đ đ°
+FĂ©licitationsâŻ! Vous avez dĂ©ployĂ© votre application FastAPI sur DetaâŻ! đ đ°
-Also notice that Deta correctly handles HTTPS for you, so you don't have to take care of that and can be sure that your clients will have a secure encrypted connection. â
đ
+Remarquez Ă©galement que Deta gĂšre correctement HTTPS pour vous, vous n'avez donc pas Ă vous en occuper et pouvez ĂȘtre sĂ»r que vos clients auront une connexion cryptĂ©e sĂ©curisĂ©e. â
đ
-## Check the Visor
+## Vérifiez le Visor
-From your docs UI (they will be in a URL like `https://qltnci.deta.dev/docs`) send a request to your *path operation* `/items/{item_id}`.
+Ă partir de l'interface graphique de votre documentation (dans une URL telle que `https://qltnci.deta.dev/docs`)
+envoyez une requĂȘte Ă votre *opĂ©ration de chemin* `/items/{item_id}`.
-For example with ID `5`.
+Par exemple avec l'ID `5`.
-Now go to https://web.deta.sh.
+Allez maintenant sur https://web.deta.sh.
-You will see there's a section to the left called "Micros" with each of your apps.
+Vous verrez qu'il y a une section à gauche appelée "Micros" avec chacune de vos applications.
-You will see a tab with "Details", and also a tab "Visor", go to the tab "Visor".
+Vous verrez un onglet avec "Details", et aussi un onglet "Visor", allez Ă l'onglet "Visor".
-In there you can inspect the recent requests sent to your app.
+Vous pouvez y consulter les requĂȘtes rĂ©centes envoyĂ©es Ă votre application.
-You can also edit them and re-play them.
+Vous pouvez également les modifier et les réécouter.
-## Learn more
+## En savoir plus
-At some point you will probably want to store some data for your app in a way that persists through time. For that you can use Deta Base, it also has a generous **free tier**.
+à un moment donné, vous voudrez probablement stocker certaines données pour votre application d'une maniÚre qui
+persiste dans le temps. Pour cela, vous pouvez utiliser Deta Base, il dispose également d'un généreux **plan gratuit**.
-You can also read more in the Deta Docs.
+Vous pouvez également en lire plus dans la documentation Deta.