You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-3
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
Use this repo as a template to deploy a Python [FastAPI](https://fastapi.tiangolo.com) service on Render.
4
4
5
-
## Steps
5
+
See https://render.com/docs/deploy-fastapi or follow the steps below:
6
+
7
+
## Manual Steps
6
8
7
9
1. You may use this repository directly or [create your own repository from this template](https://github.com/render-examples/fastapi/generate) if you'd like to customize the code.
8
10
2. Create a new Web Service on Render.
@@ -11,12 +13,14 @@ Use this repo as a template to deploy a Python [FastAPI](https://fastapi.tiangol
11
13
5. Specify the following as the Start Command.
12
14
13
15
```shell
14
-
uvicorn main:app --host 0.0.0.0 --port 10000
16
+
uvicorn main:app --host 0.0.0.0 --port $PORT
15
17
```
16
18
17
19
6. Click Create Web Service.
18
20
19
-
See https://render.com/docs/deploy-fastapi for more details.
21
+
Or simply click:
22
+
23
+
[](https://render.com/deploy?repo=https://github.com/render-examples/fastapi)
0 commit comments