From 82167617497f25be03ab0e205345665b843dbd0e Mon Sep 17 00:00:00 2001 From: Dustin Walker Date: Sat, 8 Nov 2025 22:43:41 -0500 Subject: fully reset paths, with a new test script for localhosting --- servelocal.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 servelocal.sh (limited to 'servelocal.sh') diff --git a/servelocal.sh b/servelocal.sh new file mode 100755 index 0000000..84aaea6 --- /dev/null +++ b/servelocal.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# servelocal.sh +# Quick script to host on localhost for testing. + +# If we have no arguments, or the port argument is not a positive integer (drop failure output). +if [ $# -eq 0 ] || ! [ $1 -gt 0 ] 2>/dev/null; then + echo "usage: servelocal.sh " +else + python3 -m http.server $1 +fi -- cgit v1.2.3