推荐Django的设置吗? [英] Recommended Django setup?

查看:149
本文介绍了推荐Django的设置吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将踏上一个重大Django项目。如果我安装了最新的稳定版本...是建议设置IE浏览器。此操作系统,这RDBMS,这个版本的蟒蛇等?我是一个正常男人的CentOS但他们的回购不Django的要求,发挥太好了...

I am about to embark a major django project. If I install the latest stable release... is the a suggested setup ie. this OS, this RDBMS, this version of python etc?? I'm normally a CentOS man but their repos don't play too well with the django requirements...

推荐答案

Ubuntu是距离远,一个更好的平台时下。我是来自RHEL和Fedora难民。获取Ubuntu 9.10的,如果你愿意,它产卵在Amazon EC2上总的灵​​活性(即启动它在约90秒,玩,做你想做的,删除它,只需支付降压)。否则,只使用Ubuntu在桌面上。

Ubuntu is far and away a better platform nowadays. I'm a refugee from RHEL and Fedora. Get Ubuntu 9.10, and if you'd like, spawn it on Amazon ec2 for total flexibility (i.e. launch it in about 90 seconds, play around, do what you want, delete it, and only pay a buck). Otherwise, just use Ubuntu on the desktop.

Ubuntu有Python 2.6中默认情况​​下,这样你就不必出去找怪异的升级路径。此外Ubuntu有现成去的Django 1.1.1安装与Apache的整合(最新最好的),等等...

Ubuntu has Python 2.6 by default so you don't have to go out and find weird upgrade paths. Also Ubuntu has ready-to-go installations for django 1.1.1 (the latest and greatest) that integrate with Apache, etc...

在换句话说,零使用PIP,easy_install的或源代码安装的,你可以得到的Django在Ubuntu / Apache的。

In other words, with zero usage of PIP, easy_install or source installations, you can get running with Django on Ubuntu/Apache.

一旦你舒服,PIP是因为它更是最新的,你应该使用所有非股票Python库的安装工具。

Once you're comfortable, PIP is the tool you should use for all non-stock python library installations as it's more up to date.

MySQL是不是Postgres的容易,但它其实并不重要无论哪种方式。

MySQL is easier than Postgres but it doesn't really matter either way.

===编辑====
我忘了补充一点,我使用mod_wsgi的。我全忘了,因为Ubuntu的Apache的安装是那么容易,我几乎没有就别想了。

=== edit ==== I forgot to add that I use mod_wsgi. I forgot all about it since the Ubuntu Apache installation was so easy that I hardly had to even think about it.

这篇关于推荐Django的设置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆