From 3876ba722559f0c80df839397334a60e78ce77ae Mon Sep 17 00:00:00 2001 From: wuhao Date: Fri, 23 Jul 2021 15:32:01 +0800 Subject: [PATCH] update --- Pipfile | 29 +++++++++++++++++++++++++++++ main.py | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Pipfile diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..8808d25 --- /dev/null +++ b/Pipfile @@ -0,0 +1,29 @@ +[[source]] +url = "https://pypi.douban.com/simple" +verify_ssl = false +name = "pypi" + +[packages] +fastapi = "*" +sqlalchemy = "*" +pymongo = "*" +uvicorn = "*" +motor = "*" +python-jose = "*" +passlib = "*" +pydantic = {extras = ["email"], version = "*"} +emails = "*" +python-multipart = "*" +gunicorn = "*" +simpleeval = "*" +aredis = "*" +aioch = "*" +aioredis = "*" +redis = "*" +bcrypt = "*" +pandas = "==1.2.3" + +[dev-packages] + +[requires] +python_version = "3.8" diff --git a/main.py b/main.py index 6270829..7a0406b 100644 --- a/main.py +++ b/main.py @@ -110,4 +110,4 @@ async def add_process_time_header(request: Request, call_next): if __name__ == '__main__': - uvicorn.run(app='main:app', host="0.0.0.0", port=7889, reload=True, debug=True) + uvicorn.run(app='main:app', host="0.0.0.0", port=9861, reload=True, debug=True)