mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 22:10:57 +08:00
11 lines
256 B
Bash
Executable File
11 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
PORT=5000
|
|
echo "running riot on http://localhost:$PORT ..."
|
|
BASE_DIR=$(readlink -f $(dirname $0))
|
|
cd $BASE_DIR/
|
|
pushd riot-web/webapp/ > /dev/null
|
|
python -m SimpleHTTPServer $PORT > /dev/null 2>&1 &
|
|
PID=$!
|
|
popd > /dev/null
|
|
echo $PID > riot.pid
|