使用 apache 部署 Django 应用程序mod_wsgi + PostgreSQL + nginx +使用 DotCloud 的 memchache
我是 django 开发和整体 Web 应用程序开发的新手,但我是一名程序员。
我想知道在 DotCloud 上部署 django 应用程序的步骤是什么,该应用程序将在带有 mod_wsgi 的 apache 服务器上运行。 Nginx 将用于提供媒体文件,Postgresql 将用于数据库。这都将与 memchache 一起使用。
本教程:http://dev.lethain.com/the-django -and-ubuntu-intrepid-almanac/ 本质上是我想要的,但我想弄清楚如何使用 DotCloud 来实现这一点。
我认为 Dotcloud 文档不够完整,无法提供完成此操作所需的信息,因此希望有人能提供该信息。
感谢您的帮助与合作。我很感激。
I am new to django development and overall web app development, but I am a programmer.
I want to know what are the steps to deploying a django app on DotCloud that will run on an apache server with mod_wsgi. Nginx will be used to serve media files, and Postgresql will be used for the database. This will all be used along with memchache.
This tutorial: http://dev.lethain.com/the-django-and-ubuntu-intrepid-almanac/ essentially does what I want, but I want to figure out how to get this going with DotCloud.
The Dotcloud documentation I don't feel is complete enough to provide the necessary info to accomplish this so hopefully someone will kindly provide the info.
Thank you for your help and cooperation. I appreciate it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
幸运的是,有人已经为您完成了艰苦的工作,如何在 dotcloud 上部署 Django 应用程序。
Someone has, fortunately done the hardwork for you, on how to deploy a django application on dotcloud.
如果你想在 python 中使用 postgreSQL,你必须安装 psycopg 模块,请查看文档 这里
If you want to use postgreSQL with python you have to have the psycopg module installed, take a look to the doc here