有没有像Django的XAMPP这样的软件包? [英] Are there any all in one packages like XAMPP for Django?

查看:126
本文介绍了有没有像Django的XAMPP这样的软件包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就像XAMPP一样,您可以直接安装它并开始开发,因为PHP / MySQL / Apache等均已存在。

Like with XAMPP you can just install it and start developing because PHP/MySQL/Apache, etc. are all in there.

Django是否有类似的东西?

Is there anything like this for Django?

P.S。我的意思是仅用于在本地计算机上进行开发,而不是用于部署。

P.S. I meant just for developing on my local machine not for deployment.

推荐答案

我所看到的最接近的东西是 Bitnami的DjangoStack 。可以说,几乎没有必要使用类似的XAMPP堆栈来开始Django开发,因为开始Django所需的唯一事情就是Python2.x。大多数Linux发行版和OSX都包含Python2.x。安装Django的最简单方法是使用 easy_install (最好从 distribute )或 pip 。如果您对使用内置开发服务器和SQLite感到满意,这将变得更加简单:

The closest thing I've seen is Bitnami's DjangoStack. There is arguably little need for a comparable XAMPP stack to get started with Django development, as the only thing you need to get started with Django is Python 2.x. Most linux distros and OSX include Python 2.x. The easiest way to install Django is to use easy_install (preferably from distribute) or pip. It can't get much easier if you are happy using the built-in development server and SQLite:

$ easy_install django

如果您没有拥有 easy_install pip 可用,或者您不知道如何从终端上使用它们... 学习。您可以使用 pip easy_install 为Python或Django自动安装数量惊人的软件包/应用程序。千万不要错过!由于某些原因,我更喜欢 pip ,您可以从他们的文档

If you don't have easy_install or pip available, or you don't know how to use them from a terminal...learn. You can use pip or easy_install to automatically install an incredible amount of packages/apps for Python OR Django. Don't miss out on that! I prefer pip for a number of reasons, which you can learn about better from their documentation.

这可能是本地开发所需的全部内容。 a href = http://pypi.python.org/pypi/virtualenv rel = nofollow> virtualenv 也是,但我不会讲。

This is probably all you need for local development. Well virtualenv too, but I won't get into that.

我还看到了 InstantDjango ,它试图成为Windows的一键式安装程序。尽管Bitnami的DjangoStack具有适用于Windows的本机安装程序,但我想您最好使用VM(Bitnami提供了可以使用的VM映像,并且 Turnkey Linux )。或者(甚至更好),您可以轻松创建自己的Linux VM(使用您选择的发行版,所选工具等)。

I have also seen InstantDjango which tries to be a one-click installer for Windows. Although Bitnami's DjangoStack has a native-installer for Windows, I'd imagine you'd be better off using a VM (Bitnami offers a VM image you can use and there is also another Django appliance available from Turnkey Linux). Or (even better) you could easily create your own Linux VM (with the distro of your choice, tools of your choice, etc).

这篇关于有没有像Django的XAMPP这样的软件包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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