【文件属性】:
文件名称:semaphore-demo-python-django:使用Python Django的Semaphore演示CICD管道
文件大小:50KB
文件格式:ZIP
更新时间:2021-01-30 10:12:26
python django continuous-integration continuous-delivery cicd
使用Python Django的Semaphore演示CI / CD管道
示例Python Django应用程序和CI / CD管道,用于将其与Semaphore 2.0集成。 该应用程序使用Django中基于类的视图演示了CRUD操作。 它还包括所有CRUD视图的UI。
本地项目设置
运行以下命令为mysqlclient python安装python必备软件
sudo apt-get install python3-dev default-libmysqlclient-dev ### Ubutnu
sudo yum install python3-devel mysql-devel ### Redhat / CentOS
brew install mysql-connector-c ### mac os
有关mysqlclient前提条件的更多信息,请访问以下页面:( )
使用anaconda / virtualenv设置此项目
安装点子要求
pip install -r requirements.txt
创建新的mysql数据库
在### pydjango_ci_integra
【文件预览】:
semaphore-demo-python-django-master
----.semaphore()
--------semaphore.yml(6KB)
----.gitignore(1KB)
----pydjango_ci_integration()
--------settings.py(4KB)
--------urls.py(928B)
--------__init__.py(0B)
--------pipepline.png(23KB)
--------wsgi.py(547B)
----tasks()
--------models.py(831B)
--------migrations()
--------tests()
--------urls.py(1KB)
--------__init__.py(0B)
--------apps.py(157B)
--------views.py(2KB)
--------templates()
----README.md(3KB)
----manage.py(821B)
----LICENSE(1KB)
----requirements.txt(180B)
----.pylintrc(17KB)