changeset 87:3b9d5b99895e dml-dockerised

first edits of the dml_setup
author wolffd <wolffd.mail@googlemail.com>
date Tue, 05 Jun 2018 16:19:05 +0100
parents b7523b87f4a0
children f3103f125c2d
files etc/setup_as_dml.sh
diffstat 1 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/etc/setup_as_dml.sh	Tue Jun 05 11:59:23 2018 +0100
+++ b/etc/setup_as_dml.sh	Tue Jun 05 16:19:05 2018 +0100
@@ -3,7 +3,8 @@
 
 INSTALL_SWI=no
 INSTALL_SWI_PACKS=no
-SS_USER=samer
+SS_USER=$DML_WGET_USER
+SS_PASS=$DML_WGET_PASS
 MAKE_HUMDRUM=no
 
 if [ -x matlab ]; then
@@ -44,12 +45,12 @@
 	if [ -a "$name" ]; then
 		echo "Aready existing in $1: $2."
 	else
-		echo "Please download from $2 and put it in $1."
-		exit 1
-#		echo "I am going to download into $1 from $2."
+#		echo "Please download from $2 and put it in $1."
+#		exit 1
+		echo "I am going to download into $1 from $2."
 #		echo "You may be asked for a password."
-#		wget --user=$SS_USER --ask-password "$2"
-#		wget "$2"
+#		wget --user=$DML_WGET_USER --password=$DML_WGET_PASS "$2"
+		wget "$2"
 	fi
 }
 
@@ -88,12 +89,13 @@
 	cd ~/src/github/humdrum-tools && make
 fi
 
-get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/dml-cliopatria
-get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/ishara
-get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/kernscores-utf8
-get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/dml-datasets
+# get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/dml-cliopatria # private repo 
+get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/dml-open-cliopatria # public corresponding
+get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/ishara # public repo
+get_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/kernscores-utf8 # public repo
+g# et_repo_into ~/src/hg hg https://code.soundsoftware.ac.uk/hg/dml-datasets # private data
 
-cp_into ~/lib/beets https://code.soundsoftware.ac.uk/attachments/download/1284/music-ro.db
+# cp_into ~/lib/beets https://code.soundsoftware.ac.uk/attachments/download/1284/music-ro.db
 
 mkdir -p ~/var/dml/memo_db
 cd ~/var/dml && tar xzf var-dml-cpack.tar.gz