9 lines
262 B
Bash
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 |