puput-demo:使用Puput的示例博客应用

时间:2024-05-27 13:55:36
【文件属性】:

文件名称:puput-demo:使用Puput的示例博客应用

文件大小:17KB

文件格式:ZIP

更新时间:2024-05-27 13:55:36

Python

puput-demo 使用Puput的示例博客应用 设定值 puput-demo广泛依赖于环境设置,该环境设置不适用于Apache / mod_wsgi设置。 它已与Gunicorn / Nginx甚至uWSGI / Nginx一起成功部署。 出于配置目的,下表将“ puput-demo”环境变量映射到其Django设置: 环境变量 Django设置 开发默认 生产默认值 DJANGO_CACHES 缓存(默认) 洛美 Redis DJANGO_DATABASES 数据库(默认) 看到代码 看到代码 DJANGO_DEBUG 调试 真的 错误的 DJANGO_SECRET_KEY 密钥 改变我自己!!! 引发错误 DJANGO_SECURE_BROWSER_XSS_FILTER SECURE_BROWSER_XSS_FILTER 不适用 真的 DJANGO_SEC


【文件预览】:
puput-demo-master
----requirements()
--------production.txt(411B)
--------local.txt(158B)
--------base.txt(215B)
----README.rst(4KB)
----dev.yml(435B)
----compose()
--------django()
--------nginx()
----manage.py(255B)
----install_os_dependencies.sh(2KB)
----Dockerfile(624B)
----install_python_dependencies.sh(2KB)
----requirements.txt(151B)
----config()
--------urls.py(415B)
--------__init__.py(0B)
--------wsgi.py(2KB)
--------settings()
----LICENSE(1KB)
----docker-compose.yml(342B)
----env.example(343B)
----.gitignore(718B)

网友评论