mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 22:10:57 +08:00
10 lines
270 B
Bash
10 lines
270 B
Bash
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 $PORT > /dev/null 2>&1 &
|
|
PID=$!
|
|
popd > /dev/null
|
|
echo $PID > riot.pid
|
|
popd > /dev/null |