Browse Source

📝 Update FastAPI Cloud deployment instructions (#15724)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
pull/15721/head
Alejandra 2 days ago
committed by GitHub
parent
commit
71ea74fb8f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      README.md
  2. 24
      docs/en/docs/deployment/fastapicloud.md
  3. 6
      docs/en/docs/index.md
  4. 20
      docs/en/docs/tutorial/first-steps.md

6
README.md

@ -450,9 +450,7 @@ For a more complete example including more features, see the <a href="https://fa
### Deploy your app (optional) ### Deploy your app (optional)
You can optionally deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com), go and join the waiting list if you haven't. 🚀 You can optionally deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com) with a single command. 🚀
If you already have a **FastAPI Cloud** account (we invited you from the waiting list 😉), you can deploy your application with one command.
<div class="termy"> <div class="termy">
@ -468,6 +466,8 @@ Deploying to FastAPI Cloud...
</div> </div>
The CLI will automatically detect your FastAPI application and deploy it to the cloud. If you are not logged in, your browser will open to complete the authentication process.
That's it! Now you can access your app at that URL. ✨ That's it! Now you can access your app at that URL. ✨
#### About FastAPI Cloud #### About FastAPI Cloud

24
docs/en/docs/deployment/fastapicloud.md

@ -1,26 +1,6 @@
# FastAPI Cloud { #fastapi-cloud } # FastAPI Cloud { #fastapi-cloud }
You can deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com) with **one command**, go and join the waiting list if you haven't. 🚀 You can deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com) with just **one command**. 🚀
## Login { #login }
Make sure you already have a **FastAPI Cloud** account (we invited you from the waiting list 😉).
Then log in:
<div class="termy">
```console
$ fastapi login
You are logged in to FastAPI Cloud 🚀
```
</div>
## Deploy { #deploy }
Now deploy your app, with **one command**:
<div class="termy"> <div class="termy">
@ -36,6 +16,8 @@ Deploying to FastAPI Cloud...
</div> </div>
The CLI will automatically detect your FastAPI application and deploy it to the cloud. If you are not logged in, your browser will open to complete the authentication process.
That's it! Now you can access your app at that URL. ✨ That's it! Now you can access your app at that URL. ✨
## About FastAPI Cloud { #about-fastapi-cloud } ## About FastAPI Cloud { #about-fastapi-cloud }

6
docs/en/docs/index.md

@ -492,9 +492,7 @@ For a more complete example including more features, see the <a href="https://fa
### Deploy your app (optional) { #deploy-your-app-optional } ### Deploy your app (optional) { #deploy-your-app-optional }
You can optionally deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com), go and join the waiting list if you haven't. 🚀 You can optionally deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com) with a single command. 🚀
If you already have a **FastAPI Cloud** account (we invited you from the waiting list 😉), you can deploy your application with one command.
<div class="termy"> <div class="termy">
@ -510,6 +508,8 @@ Deploying to FastAPI Cloud...
</div> </div>
The CLI will automatically detect your FastAPI application and deploy it to the cloud. If you are not logged in, your browser will open to complete the authentication process.
That's it! Now you can access your app at that URL. ✨ That's it! Now you can access your app at that URL. ✨
#### About FastAPI Cloud { #about-fastapi-cloud } #### About FastAPI Cloud { #about-fastapi-cloud }

20
docs/en/docs/tutorial/first-steps.md

@ -200,23 +200,7 @@ Additionally, other tools might not be able to find it, for example the [VS Code
### Deploy your app (optional) { #deploy-your-app-optional } ### Deploy your app (optional) { #deploy-your-app-optional }
You can optionally deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com), go and join the waiting list if you haven't. 🚀 You can optionally deploy your FastAPI app to [FastAPI Cloud](https://fastapicloud.com) with a single command. 🚀
If you already have a **FastAPI Cloud** account (we invited you from the waiting list 😉), you can deploy your application with one command.
Before deploying, make sure you are logged in:
<div class="termy">
```console
$ fastapi login
You are logged in to FastAPI Cloud 🚀
```
</div>
Then deploy your app:
<div class="termy"> <div class="termy">
@ -232,6 +216,8 @@ Deploying to FastAPI Cloud...
</div> </div>
The CLI will automatically detect your FastAPI application and deploy it to the cloud. If you are not logged in, your browser will open to complete the authentication process.
That's it! Now you can access your app at that URL. ✨ That's it! Now you can access your app at that URL. ✨
## Recap, step by step { #recap-step-by-step } ## Recap, step by step { #recap-step-by-step }

Loading…
Cancel
Save