meshviewer-docker/start.sh
2018-04-14 22:16:07 +02:00

9 lines
262 B
Bash

#!/bin/sh
sleep 60
rm -rf /opt/meshviewer/
git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /opt/meshviewer
cd /opt/meshviewer
npm install gulp -D yarn
yarn global add gulp-cli
gulp
ln -s /opt/meshviewer/build/index.html /opt/meshviewer/index.html