diff --git a/start.sh b/start.sh index c1a9a04..dea37a4 100644 --- a/start.sh +++ b/start.sh @@ -1,9 +1,7 @@ #!/bin/sh -sleep 60 -rm -rf /opt/meshviewer/ -git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /opt/meshviewer -cd /opt/meshviewer +git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /tmp +cd /tmp npm install gulp -D yarn yarn global add gulp-cli gulp -ln -s /opt/meshviewer/build/index.html /opt/meshviewer/index.html \ No newline at end of file +cp -r /tmp/build/* /opt/meshviewer/build/