89045566735f9e5e9ea126e2885856de0774c9fe
[lhc/web/wiklou.git] / maintenance / dev / start.sh
1 #!/bin/bash
2
3 if [[ "x$BASH_SOURCE" == "x" ]]; then echo '$BASH_SOURCE not set'; exit 1; fi
4 DEV=$(cd -P "$(dirname "${BASH_SOURCE[0]}" )" && pwd)
5
6 PORT=4881
7
8 echo "Starting up MediaWiki at http://localhost:$PORT/"
9 echo ""
10
11 cd "$DEV/../../"; # $IP
12 "$DEV/php/bin/php" -S "localhost:$PORT"