【文件属性】:
文件名称:django-fig-template:使用Docker和Fig快速搭建容器化开发环境的Django项目模板
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-30 16:56:35
Python
django-fig-模板
快速搭建容器化开发环境的Django项目模板
概述
图片来源:
服务包括:
数据库: postgres:latest
缓存: redis:latest
经纪人: rabbitmq
Web 代理/负载均衡器: nginx:latest
工人:
wsgi 工人: gunicorn
排队工人: celery
安装
设置 Docker
> brew update
> brew install boot2docker
> boot2docker init
> boot2docker up
> boot2docker shellinit
安装其他要求
pip install Django
pip install fig
Cookiecut 项目模板
django-admin.py startproject --name=fig.yml --name
【文件预览】:
django-fig-template-master
----Dockerfile(77B)
----requirements.txt(196B)
----project_name()
--------manage.py(261B)
--------project_name()
----README.md(1019B)
----Dockerfiles()
--------celery()
--------postgres()
--------nginx()
----fig.yml(1KB)
----.gitignore(5B)
----dev_setup.sh(261B)