On 8/2/13 7:41 AM, Sithembewena Lloyd Dube wrote:
Hi everyone,

I just began using a new Mac at work (running OSX 10.8.2 Mountain Lion) and it seems such a mission to install Django. Python 2.7.2. is already installed. Following the official Django installation instructions, I get no further than trying to get wget-> which I will ned to compile with a C Compiler -> which I can get by downloading 1+ gigs of xCode. Really?

Could somebody please point out a safe and straight-forward way to install Django on Mountain Lion?

For me, "safe and straight-forward" includes getting my machine set up as a full development environment in a reproducible way to support multiple projects. If the priority is *not* saving disk space (or minimizing download bandwidth), I would suggest the following components:

XCode (compilers etc)
MacPorts (third party apps)
PostgreSQL (from MacPorts postgresql92-server)
virtualenv (from MacPorts py27-virtualenv; this will also probably get you python-2.7)

You will want to set up your path to find executables in /opt/local/bin/

Use virtualenv to set up a standalone python installation, and pip to get the packages you need for django.

Use the postgres installation to provide more control over versioning and the location of your database, setting PGDATA and PGPORT environment variables to find your server. When developing, I run my server from the command line.

hth

                                    - Tom

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to