mirror of https://github.com/vector-im/riot-web
now the output isn't overwhelming anymore, output what's happening at every step
parent
0be2e02381
commit
a6304ce83e
|
@ -1,7 +1,9 @@
|
|||
PORT=8080
|
||||
echo "running riot on http://localhost:$PORT..."
|
||||
BASE_DIR=$(realpath $(dirname $0))
|
||||
pushd $BASE_DIR > /dev/null
|
||||
pushd riot-web/webapp/ > /dev/null
|
||||
python -m SimpleHTTPServer 8080 > /dev/null 2>&1 &
|
||||
python -m SimpleHTTPServer $PORT > /dev/null 2>&1 &
|
||||
PID=$!
|
||||
popd > /dev/null
|
||||
echo $PID > riot.pid
|
||||
|
|
Loading…
Reference in New Issue