X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=devel%2Fdjango-install.txt;h=559b41a51fb4a0a0b7c449cd4b6bf78c94ffd065;hb=4b6622264b59de3edb433a1f886faa2069a11960;hp=ad76b6ef5b3d202baf0671dd4abad28f6da003d0;hpb=942f0c826530444332e45de0367b560e0af22b33;p=myslice.git diff --git a/devel/django-install.txt b/devel/django-install.txt index ad76b6ef..559b41a5 100644 --- a/devel/django-install.txt +++ b/devel/django-install.txt @@ -1,4 +1,4 @@ -versions collected as of nov 14 2012 +Versions collected as of nov 14 2012 ======================================== MAC I'm using macports @@ -25,5 +25,31 @@ WARNING: version 1.3 !! (Fedora17 has 1.4.2) ======================================== debian(wheezy) $ sudo apt-get install python-django --> 1.4.1_2 +-> 1.5.2 +NOTE. (this has more to do with my own vserver-based technique to +create debian VM's) + +======================================== Install from tarball + +https://www.djangoproject.com/download/ + +$tar xzvf Django-1.5.2.tar.gz +$cd Django-1.5.2 +$sudo python setup.py install + +=============== Install locales [needed] +I found it useful to also do the following at some point +# apt-get install locales +# dpkg-reconfigure locales +-> en_US.UTF-8 + +The thing is I enter my debian box from a MAC through ssh, and the +MAC has this set: LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 +and I was getting a lot of warnings relating to that anyways + +==================== postinstall +. manage.py syncdb +. manage.py collectstatic --noinput + +====================