1 #!/bin/sh 2 # 3 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 4 # 5 # Use of this source code is governed by a BSD-style license 6 # that can be found in the LICENSE file in the root of the source 7 # tree. An additional intellectual property rights grant can be found 8 # in the file PATENTS. All contributing project authors may 9 # be found in the AUTHORS file in the root of the source tree. 10 # 11 # This script is used to launch a simple http server for files in the same 12 # location as the script itself. 13 cd "`dirname \"$0\"`" 14 echo "Starting http server in port 8080." 15 exec python -m SimpleHTTPServer 8080 16