Files
ThreadNet-Web/riot/install.sh
T

13 lines
311 B
Bash
Raw Normal View History

2018-07-18 17:52:51 +02:00
RIOT_BRANCH=master
2018-07-18 18:04:31 +02:00
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
2018-07-18 17:52:51 +02:00
curl -L https://github.com/vector-im/riot-web/archive/${RIOT_BRANCH}.zip --output riot.zip
unzip riot.zip
rm riot.zip
mv riot-web-${RIOT_BRANCH} riot-web
cp config-template/config.json riot-web/
2018-07-18 17:52:51 +02:00
pushd riot-web
npm install
npm run build
2018-07-18 18:04:31 +02:00
popd