element-web/riot/start.sh
2018-07-18 18:04:31 +02:00

8 lines
No EOL
145 B
Bash

BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
pushd riot-web/webapp/
python -m SimpleHTTPServer 8080 &
PID=$!
popd
echo $PID > riot.pid
popd