tweaks in the devel scripts
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 16 Nov 2012 07:38:46 +0000 (08:38 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 16 Nov 2012 07:38:46 +0000 (08:38 +0100)
devel/django-install.txt
devel/push-debian.sh

index ad76b6e..87896b8 100644 (file)
@@ -27,3 +27,14 @@ WARNING: version 1.3 !!
 $ sudo apt-get install python-django
 -> 1.4.1_2
 
+NOTE. (this has more to do with my own vserver-based technique to
+create debian VM's)
+
+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
index 37082a5..9279c86 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 DIR=$(dirname $0)
+ROOT=$(cd $DIR/.. ; pwd -P)
 
 host=debian03.pl.sophia.inria.fr
 
-rsync -a "$@" $DIR/ root@$host:/root/myslice/
+rsync -a "$@" --exclude '*.sqlite3' $ROOT/ root@$host:/root/myslice/