Skip to content
Go to file
Cannot retrieve contributors at this time
executable file 19 lines (16 sloc) 604 Bytes
# Serves content from the build directory. Audio files, if placed in
# `build/audio` are served properly by RangeHTTPServer, whereas
# SimpleHTTPServer does not support range requests.
# Check to see if the Python module RangeHTTPServer is installed.
SERVER_INSTALLED=`pip search rangehttpserver | grep INSTALLED`
if [ "$SERVER_INSTALLED" = "" ]; then
echo "You do not have the RangeHTTPServer installed"
echo ""
echo "Install with: pip install RangeHTTPServer"
echo ""
echo "You may be required to use sudo to install"
exit 1
cd build
python -m RangeHTTPServer
You can’t perform that action at this time.