使用 apache 部署 Django 应用程序mod_wsgi + PostgreSQL + nginx +使用 DotCloud 的 memchache

发布于 2024-11-17 21:44:34 字数 517 浏览 8 评论 0原文

我是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

清风疏影 2024-11-24 21:44:34

幸运的是,有人已经为您完成了艰苦的工作,如何在 dotcloud 上部署 Django 应用程序

Someone has, fortunately done the hardwork for you, on how to deploy a django application on dotcloud.

娇纵 2024-11-24 21:44:34

如果你想在 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文