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 I found it useful to also do the following at some point
34 # apt-get install locales
35 # dpkg-reconfigure locales
38 The thing is I enter my debian box from a MAC through ssh, and the
39 MAC has this set: LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
40 and I was getting a lot of warnings relating to that anyways
42 ==================== postinstall
44 . manage.py collectstatic --noinput