Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any all in one packages like XAMPP for Django?

Tags:

python

django

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

Is there anything like this for Django?

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

like image 552
Jason Avatar asked May 08 '11 19:05

Jason


2 Answers

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

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.

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

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).

like image 113
zeekay Avatar answered Sep 25 '22 05:09

zeekay


My suggestion is just starting developing your site with sqlite and the development server provided by django.

When you are ready to deploy, simply find a django friendly hosting service and upload your site.

Then u wouldn't need to worry about the trouble of installing apache and database.

like image 29
ablmf Avatar answered Sep 24 '22 05:09

ablmf