1 Versions collected as of nov 14 2012
3 ======================================== MAC
5 $ sudo port install python27 py27-pip py27-django
6 (not even sure if pip is needed then...)
9 NOTE: I haven't found the magic sentence to expose django-admin-2.7.py
10 as simply django-admin.py
11 There's this 'port select' command that can be used for selecting
12 which python to use, which I believe would come in handy here too
13 Except that it insists on taking a so-called 'group' name and I can't
14 find out what to use here
16 ~/git/django-playground $ port select --list django
17 Warning: Unable to get active selected version: The specified group
18 'django' does not exist.
20 ======================================== fedora(16)
21 $ sudo yum install Django
22 WARNING: version 1.3 !!
26 ======================================== debian(wheezy)
27 $ sudo apt-get install python-django
30 NOTE. (this has more to do with my own vserver-based technique to
33 ======================================== Install from tarball
35 https://www.djangoproject.com/download/
37 $tar xzvf Django-1.5.2.tar.gz
39 $sudo python setup.py install
41 =============== Install locales [needed]
42 I found it useful to also do the following at some point
43 # apt-get install locales
44 # dpkg-reconfigure locales
47 The thing is I enter my debian box from a MAC through ssh, and the
48 MAC has this set: LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
49 and I was getting a lot of warnings relating to that anyways
51 ==================== postinstall
53 . manage.py collectstatic --noinput