- consistent naming, now that nubivis is a system package
authorJosef Spillner <josef.spillner@tu-dresden.de>
Mon, 26 May 2014 09:39:02 +0000 (11:39 +0200)
committerJosef Spillner <josef.spillner@tu-dresden.de>
Mon, 26 May 2014 09:39:02 +0000 (11:39 +0200)
scripts/fill-demonstrator-nubivis-system.sh [new file with mode: 0755]
scripts/fill-demonstrator-nubivis.sh [deleted file]
scripts/fill-demonstrator.sh

diff --git a/scripts/fill-demonstrator-nubivis-system.sh b/scripts/fill-demonstrator-nubivis-system.sh
new file mode 100755 (executable)
index 0000000..609dd61
--- /dev/null
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+system=system
+origdir=$PWD
+
+#sudo chroot $system sh -c "wget -O- http://nubisave.org/downloads/nubisave.key | sudo apt-key add -"
+#echo "deb http://nubisave.org/packages/ ./" | sudo tee -a $system/etc/apt/sources.list
+#sudo chroot $system apt-get update
+
+sudo chroot $system apt-get --assume-yes install nubivis
+
+#mkdir -p _checkouts
+#cd _checkouts
+#if [ ! -d nubivis ]; then
+#      git clone -b pibox git://serviceplatform.org/git/nubivis
+#else
+#      cd nubivis
+#      git pull
+#fi
+#cd $origdir
+#
+#cd _checkouts/nubivis
+#git submodule init
+#git submodule update
+#cd $origdir
+#
+#sudo mkdir -p $system/var/www
+#sudo rm -rf $system/var/www/nubivis
+#sudo cp -r _checkouts/nubivis/webapplication/src $system/var/www/nubivis
+#sudo cp -r _checkouts/nubivis/REST-API $system/var/www/nubivis-api
+#
+#sudo chroot $system apt-get --assume-yes install --no-install-recommends tomcat7
+#
+#sudo cp _checkouts/nubivis/binaries-precompiled/wimdService.war $system/var/lib/tomcat7/webapps/
+#
+###sudo apt-get --assume-yes install libdbus-java
+#cd _checkouts/nubivis/jdbmanalyzer
+#make
+#cd $origdir
+#sudo cp -r _checkouts/nubivis/jdbmanalyzer $system/opt/
+#
+#sudo chroot $system chmod 777 /opt/jdbmanalyzer/src
+#sudo chroot $system ln -s /opt/jdbmanalyzer/nubisave-database /usr/bin
+#
+#sudo mkdir -p $system/usr/share/tomcat7/.nubivis/config
+#sudo cp data/nubisave-config/config.txt $system/usr/share/tomcat7/.nubivis/config/nubisave
+#sudo chmod 666 $system/usr/share/tomcat7/.nubivis/config/nubisave
+#sudo chmod 666 $system/home/demo/.nubisave/db.*
+
+sudo sed -i -e 's/^#user_allow_other/user_allow_other/' $system/etc/fuse.conf
+
+sudo chroot $system apt-get --assume-yes install apache2
diff --git a/scripts/fill-demonstrator-nubivis.sh b/scripts/fill-demonstrator-nubivis.sh
deleted file mode 100755 (executable)
index 609dd61..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-
-system=system
-origdir=$PWD
-
-#sudo chroot $system sh -c "wget -O- http://nubisave.org/downloads/nubisave.key | sudo apt-key add -"
-#echo "deb http://nubisave.org/packages/ ./" | sudo tee -a $system/etc/apt/sources.list
-#sudo chroot $system apt-get update
-
-sudo chroot $system apt-get --assume-yes install nubivis
-
-#mkdir -p _checkouts
-#cd _checkouts
-#if [ ! -d nubivis ]; then
-#      git clone -b pibox git://serviceplatform.org/git/nubivis
-#else
-#      cd nubivis
-#      git pull
-#fi
-#cd $origdir
-#
-#cd _checkouts/nubivis
-#git submodule init
-#git submodule update
-#cd $origdir
-#
-#sudo mkdir -p $system/var/www
-#sudo rm -rf $system/var/www/nubivis
-#sudo cp -r _checkouts/nubivis/webapplication/src $system/var/www/nubivis
-#sudo cp -r _checkouts/nubivis/REST-API $system/var/www/nubivis-api
-#
-#sudo chroot $system apt-get --assume-yes install --no-install-recommends tomcat7
-#
-#sudo cp _checkouts/nubivis/binaries-precompiled/wimdService.war $system/var/lib/tomcat7/webapps/
-#
-###sudo apt-get --assume-yes install libdbus-java
-#cd _checkouts/nubivis/jdbmanalyzer
-#make
-#cd $origdir
-#sudo cp -r _checkouts/nubivis/jdbmanalyzer $system/opt/
-#
-#sudo chroot $system chmod 777 /opt/jdbmanalyzer/src
-#sudo chroot $system ln -s /opt/jdbmanalyzer/nubisave-database /usr/bin
-#
-#sudo mkdir -p $system/usr/share/tomcat7/.nubivis/config
-#sudo cp data/nubisave-config/config.txt $system/usr/share/tomcat7/.nubivis/config/nubisave
-#sudo chmod 666 $system/usr/share/tomcat7/.nubivis/config/nubisave
-#sudo chmod 666 $system/home/demo/.nubisave/db.*
-
-sudo sed -i -e 's/^#user_allow_other/user_allow_other/' $system/etc/fuse.conf
-
-sudo chroot $system apt-get --assume-yes install apache2
index ad9ef83..0f45a1a 100755 (executable)
@@ -5,7 +5,7 @@ system=system
 highlight="\e[1m\e[32m"
 reset="\e[0m\e[0m"
 
-for proto in nubisave-system nubivis adaptivesyncer owncloud-system system
+for proto in nubisave-system nubivis-system adaptivesyncer owncloud-system system
 do
        echo -e "${highlight}Building/Integrating $proto...${reset}"
        ./scripts/fill-demonstrator-$proto.sh