Skip to content

Commit fc02837

Browse files
committed
docs: add install and uvicorn example
1 parent 9b81da1 commit fc02837

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,24 @@ This example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions
4646

4747
This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.
4848

49+
## Install dependencies
50+
51+
```bash
52+
pip install -r requirements.txt
53+
```
54+
4955
## Running Locally
5056

5157
```bash
5258
npm i -g vercel
5359
vercel dev
5460
```
5561

62+
or
63+
64+
```bash
65+
uvicorn main:app --host 0.0.0.0 --port 4000
66+
```
5667
Your Flask application is now available at `http://localhost:3000`.
5768

5869
## One-Click Deploy

0 commit comments

Comments
 (0)