Django and Linux distros

31 views
Skip to first unread message

JonSidnell

unread,
May 16, 2008, 6:24:21 AM5/16/08
to Django users
Hi everyone

I'm suddenly struck by the notion that I would like to be dev'ing
Django on Linux of some flavour rather than Windows.

It's been a wee while since I stuck my toes in the Linux waters, so I
was wondering if anyone here has any recommendations for a dev machine
setup? Due to the django host I've signed with, I'm largely stuck with
MySQL, and don't mind using the manage.py dev server while actually
developing. Everything else is up for grabs in my mind - distro,
editor, desktop manager skin, whatever! Although I'm unlikely to man
up to something like emacs or vi for code editing...

What works for you?

Cheers
Jon

Gabriel

unread,
May 16, 2008, 6:33:01 AM5/16/08
to django...@googlegroups.com

Hello mate

I've been using Ubuntu 8.04 desktop on my macbook. It's really superb. I prefer
gnome because in Ubuntu it is so much more polished. I can also get apache,
mysql, etc running, along with any revision control system I desire - which at
the moment means Bazaar.

For actually editing I use Gedit, with the extra plugins installed, and all
snippets etc enabled. If I don't feel like Gedit I use Komodo IDE.

I think we both need to do some soul-searching to pluck up enough courage to
take on the mighty beasts of Vi and Emacs!!

Kenneth Gonsalves

unread,
May 16, 2008, 6:47:01 AM5/16/08
to django...@googlegroups.com

On 16-May-08, at 3:54 PM, JonSidnell wrote:

> What works for you?

try mandriva spring 2008 - perfect for people migrating from the
windows world

--

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/

Andre Meyer

unread,
May 16, 2008, 7:03:26 AM5/16/08
to django...@googlegroups.com
hi Jon

ubuntu certainly works like a charm and you may want to use eclipse with pydev, just like on windows. i use it on both platforms (even on the same machine using a shared partition).

cheers
André

Jarek Zgoda

unread,
May 16, 2008, 7:06:02 AM5/16/08
to django...@googlegroups.com
JonSidnell pisze:


> It's been a wee while since I stuck my toes in the Linux waters, so I
> was wondering if anyone here has any recommendations for a dev machine
> setup? Due to the django host I've signed with, I'm largely stuck with
> MySQL, and don't mind using the manage.py dev server while actually
> developing. Everything else is up for grabs in my mind - distro,
> editor, desktop manager skin, whatever! Although I'm unlikely to man
> up to something like emacs or vi for code editing...
>
> What works for you?

If you ever plan to use PostgreSQL instead of MySQL, stay away from
OpenSuse 10.3, I did not found a way to have working psycopg1 in this
distro. I'd recommend Ubuntu, but YMMV.

--
Jarek Zgoda
Skype: jzgoda | GTalk: zg...@jabber.aster.pl | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)

Kevin Monceaux

unread,
May 16, 2008, 8:22:53 AM5/16/08
to Django users
Jon,

On Fri, 16 May 2008, JonSidnell wrote:

> I'm suddenly struck by the notion that I would like to be dev'ing
> Django on Linux of some flavour rather than Windows.

Congratulations!!!

> It's been a wee while since I stuck my toes in the Linux waters, so I
> was wondering if anyone here has any recommendations for a dev machine
> setup?

My personal distro preference is Debian.

> Due to the django host I've signed with, I'm largely stuck with MySQL,
> and don't mind using the manage.py dev server while actually developing.

I have both PostgreSQL and MySQL on my Debian box.

> Everything else is up for grabs in my mind - distro, editor, desktop
> manager skin, whatever! Although I'm unlikely to man up to something
> like emacs or vi for code editing...

If you don't like vi and/or emacs you probably don't want to ask me about
desktop managers or editors. I use vim for editing and Ion for desktop
management. I have also used emacs off and on in the past.

Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

Almir Karic

unread,
May 16, 2008, 8:59:27 AM5/16/08
to django...@googlegroups.com
On Fri, May 16, 2008 at 12:24 PM, JonSidnell <acous...@gmail.com> wrote:
> What works for you?

debian & vim, tho i'm considering switching to openbsd as my primary OS.


--
For far too long, power has been concentrated in the hands of "root"
and his "wheel" oligarchy. We have instituted a dictatorship of the
users. All system administration functions will be handled by the
People's Committee for Democratically Organizing the System (PC-DOS).

Valts Mazurs

unread,
May 16, 2008, 9:12:48 AM5/16/08
to django...@googlegroups.com
Ubuntu for desktop.
FreeBSD and OpenBSD for production server.

Regards,
Valts.

Matic Žgur

unread,
May 16, 2008, 9:14:11 AM5/16/08
to django...@googlegroups.com
I'm using Ubuntu, vim, sqlite3, svn and Django development server.

Matic Žgur

Javier Rivera

unread,
May 16, 2008, 9:44:42 AM5/16/08
to django...@googlegroups.com
> What works for you?

Ubuntu + Eric4 as ide + Mysql.

Javier.

JonSidnell

unread,
May 16, 2008, 7:41:09 PM5/16/08
to Django users
Thanks for the feedback everyone!

The deed is done and I've got myself set up with Ubuntu Desktop, MySQL
all working with Django, and gedit customised a la
http://grigio.org/pimp_my_gedit_was_textmate_linux to act a bit more
like Textmate. I'm liking it so far :)

Cheers
Jon

Steven Armstrong

unread,
May 16, 2008, 8:44:57 PM5/16/08
to django...@googlegroups.com
JonSidnell wrote on 05/16/08 12:24:

I've you're a linux noob go with {k,u}buntu. If you're a hardcore *nix
lover go with slackware. If you're a developer go with gentoo linux, as
then, all the fancy libs you need to do your work are just an emerge away :)

Oscar Carlsson

unread,
May 18, 2008, 4:37:49 AM5/18/08
to django...@googlegroups.com
I use OS X + (vim|mysql|svn) while developing and (FreeBSD|Gentoo) in
production :)

The only thing I'm missing is omnicompletion for django, haven't been
able to figure out how to do it myself :(

Oscar

Jeff Anderson

unread,
May 19, 2008, 1:17:33 AM5/19/08
to django...@googlegroups.com
JonSidnell wrote:
> What works for you?
>
I have quite the interesting setup...

At work, we use Fedora. I often work on personal things at work when not
on the clock. Not my first choice of linux distro, but it works just
fine for doing my django stuff.

At home, I use arch linux. It is for minimalists, and has quite a few
gentoo cross-over users, including myself. It also works wonderfully for
doing my django stuff.

On my personal server, I still have gentoo. I use it for development at
times. It also works wonderfully for doing my django stuff.

I have a macbook pro, and I use straight mac os x on it. I thought I'd
want to put linux on it pretty quickly, but it too works wonderfully for
doing my development stuff.

Across the board, I use vim for editing and git for version control. I
must give a strong recommendation to use git-svn to check out the django
svn tree. If I need a patch from a ticket, all I have to do is create a
local branch, and apply the patch. As I update svn, it automerges the
patch with the newer revision. Doing my own development using git has
been absolutely wonderful.

Why do all these environments work so well for me? They are all unix
based, and give more or less the same end-result when using the command
line, and they all can run my X programs. I'm familiar enough with each
design philosophy for each distro/platform that I can focus on development.

My suggestion is to get to know your shiny new ubuntu system. You don't
have to know all the parts of the engine, but you should know if it is
in the front or the back of the car, and which wheels make the car go.

When you have time, I highly recommend learning the vim editor. It will
save you so much time once you get to know it. It gives you lots of
power, quite literally, at your fingertips.

Lastly, have fun in linux!


Jeff Anderson

signature.asc

Ramdas S

unread,
May 19, 2008, 2:06:29 AM5/19/08
to django...@googlegroups.com
I have tried almost all popular linux distros and finally zeroed on Ubuntu.

It might still have a few glitches, but by far is the best of the debian based distros, and when it comes to stability and ease of use  Debian beats RedHat and its clones!

You have Ubuntu, all you need to do is play around with it for a few hours and you will start appreciating it

RS

Gene Campbell

unread,
May 19, 2008, 3:10:26 AM5/19/08
to django...@googlegroups.com
I totally agree. I took this path over the last 5 years: redhat (1
yr) -> gentoo (3 yrs)-> archlinux (6 mos) -> pclinuxos (1 day) ->
ubuntu (6 mos)

I loved Gentoo, taught me quite a bit. Now I love Ubuntu for the
opposite reasons. I like not having to do much to keep my machine
going.

I'm new to Django and Python (gladly giving up 12 years of java
experience to never look back.) I'm using jEdit and Eclipse for
editing at the moment (but can't believe there isn't something
better), and it all works great.

just use
sudo apt-get install python-django

django-admin.py startproject blah

and your off.

--
Picante Solutions Limited
e: ge...@picante.co.nz
w: 06 757 9488

Matthias Kestenholz

unread,
May 19, 2008, 4:30:43 AM5/19/08
to django...@googlegroups.com
On Mon, 2008-05-19 at 19:10 +1200, Gene Campbell wrote:
> I totally agree. I took this path over the last 5 years: redhat (1
> yr) -> gentoo (3 yrs)-> archlinux (6 mos) -> pclinuxos (1 day) ->
> ubuntu (6 mos)
>
> I loved Gentoo, taught me quite a bit. Now I love Ubuntu for the
> opposite reasons. I like not having to do much to keep my machine
> going.
>
> I'm new to Django and Python (gladly giving up 12 years of java
> experience to never look back.) I'm using jEdit and Eclipse for
> editing at the moment (but can't believe there isn't something
> better), and it all works great.
>
> just use
> sudo apt-get install python-django
>
> django-admin.py startproject blah
>
> and your off.
>

I'd _not_ recommend installing the django version from the ubuntu
package. If you begin with a new project (or if you begin to learn
django even!) you should start with a subversion trunk checkout[1], not
with 0.96.1.

Matthias

[1]: Or with a git repository of course. I like git very much too, and
have set up a git mirror which is updated hourly on my domain:

--
http://spinlock.ch/blog/

Matthias Kestenholz

unread,
May 19, 2008, 4:31:46 AM5/19/08
to django...@googlegroups.com

Oops, sorry to answer my own post, but here goes the URL:
http://spinlock.ch/pub/git/

Gene Campbell

unread,
May 19, 2008, 4:56:06 AM5/19/08
to django...@googlegroups.com
Oh right, I read that somewhere else - use the svn version. Sorry,
I'm very new to django, and really just wanted to say

1. What LInux OS I use
2. How much I am so totally impressed with Django and Python (after
years of suffering with Java.)

I most certainly didn't want to imply I knew anything about Django
that would constitute good advice. So, thanks for
straightening me out. I'll go back to reading and learning.

--

lhonda

unread,
May 19, 2008, 8:44:44 AM5/19/08
to Django users
Hi John,

I have Ubuntu in my Macbook.
I think you can try to use Eric, because it provides debugging,
project support, syntax highlighting, code completion.
Ubuntu works fine and it provides tons of Free/Open Source software.

Regards,

Luiz Honda

Kevin Monceaux

unread,
May 19, 2008, 8:58:50 AM5/19/08
to django...@googlegroups.com

On Mon, 19 May 2008, Gene Campbell wrote:

> I totally agree. I took this path over the last 5 years: redhat (1
> yr) -> gentoo (3 yrs)-> archlinux (6 mos) -> pclinuxos (1 day) ->
> ubuntu (6 mos)

I took a similar path. I started with Slackware back in the 1.xx kernel
days. Recently I did alot of distro hopping, although many I just tried
out under VMware. I forget the exact timeframes but I think the distros
that I actually installed directly on my home PC(s), i.e. not under
VMware, starting with Slackware back in the 486 days, went something like:

Slackware -> Mandrake -> Gentoo -> SourceMage -> Wolvix -> CRUX ->
ArchLinux -> Debian

I might be forgetting one or two and possibly have the order smegged up
slightly. And actually I think I installed Debian on three separate
occasions. I tried Xubuntu under VMware, but figured if I'm going to run
a Debian based distro, I might as well just run Debian. After trying
Debian the first couple of times then trying other distros I kept noticing
little details on the other distros and kept thinking, "You know, Debian
got that right," or "Debian handled that a little better." In the end, I
finally settled on Debian and I think I've finally stopped distro hopping.

Gustavo Noronha Silva

unread,
May 21, 2008, 4:53:26 PM5/21/08
to django...@googlegroups.com
On Mon, 2008-05-19 at 10:30 +0200, Matthias Kestenholz wrote:
> > just use
> > sudo apt-get install python-django
> I'd _not_ recommend installing the django version from the ubuntu
> package. If you begin with a new project (or if you begin to learn
> django even!) you should start with a subversion trunk checkout[1], not
> with 0.96.1.

You may want to use the package from Debian's experimental repository,
though, since it is quite up-to-date with SVN, usually:

http://packages.debian.org/experimental/python-django

You can add:

deb http://http.us.debian.org/debian experimental main

to your sources.list and force synaptic or aptitude to install the svn
snapshot version (since experimental is configured to not be a candidate
for new versions).

See you,

--
Gustavo Noronha Silva <k...@kov.eti.br>

Reply all
Reply to author
Forward
0 new messages