client-service

时间:2021-03-18 04:07:52
【文件属性】:
文件名称:client-service
文件大小:10KB
文件格式:ZIP
更新时间:2021-03-18 04:07:52
Python 客户服务 安装 用pip安装: > pip install -r requirements.txt 运行shell命令之前,设置CS_HOST_PORT和CS_HOST_IP环境variablefrom .flask_env set CS_HOST_PORT=5000 set CS_HOST_IP=0.0.0.0 通过模板postgresql+psycopg2://:t@localhost/设置DATABASE_URL之后 创建用户运行 psql -U postgres 创建您的用户并授予必要的权限 CREATE USER username WITH PASSWORD password; 烧瓶应用结构 . ├── service_api/ │ ├─── __init__.py │ ├─── models.py │ └───
【文件预览】:
client-service-main
----alembic()
--------env.py(2KB)
--------script.py.mako(494B)
--------versions()
--------README(38B)
----alembic.ini(2KB)
----config.py(454B)
----app.py(92B)
----Dockerfile(263B)
----requirements.txt(82B)
----__init__.py(25B)
----setup.py(140B)
----README.md(1KB)
----service_api()
--------__init__.py(490B)
--------models.py(2KB)
--------grabbing_api()
--------client_api()
----.flask_env(38B)
----.gitignore(2KB)
----dev-requirements.txt(15B)

网友评论