validate-deploy:验证部署的API

时间:2021-03-15 08:53:10
【文件属性】:
文件名称:validate-deploy:验证部署的API
文件大小:19KB
文件格式:ZIP
更新时间:2021-03-15 08:53:10
Python 验证部署的API 入门: 与Docker一起运行 docker-compose up -d --build 进入: 本地运行 先决条件 Python3 Pip Virtual environment python Django Django Rest Framework 在继续安装之前,请激活您的虚拟环境。 正在安装 要安装要求: pip install -r requirements.txt 要进行数据库迁移: make migrate 要运行Rest API: python manage.py runserver 进入: : : 运行测试 要运行测试: make test 运行短毛猫 运行短绒(flake8,black和isort): make linters 要仅运行pyflakes并检查未使用的导入,请执行以下操作: make pyflakes 要仅运行isor
【文件预览】:
validate-deploy-main
----.env-example(135B)
----.github()
--------workflows()
----manage.py(602B)
----Dockerfile(191B)
----core()
--------apps.py(83B)
--------services()
--------migrations()
--------admin.py(0B)
--------__init__.py(0B)
--------models.py(718B)
--------views.py(404B)
--------tests()
--------serializers.py(535B)
----requirements.txt(254B)
----setup.cfg(543B)
----README.md(1KB)
----Makefile(431B)
----.pre-commit-config.yaml(1KB)
----docker-compose.yml(365B)
----.gitignore(2KB)
----settings()
--------settings.py(3KB)
--------urls.py(283B)
--------__init__.py(0B)
--------asgi.py(169B)
--------wsgi.py(169B)
----.coveragerc(184B)
----entrypoint.sh(76B)

网友评论