aboutsummaryrefslogtreecommitdiff
path: root/serve-testpages
diff options
context:
space:
mode:
Diffstat (limited to 'serve-testpages')
-rwxr-xr-xserve-testpages11
1 files changed, 11 insertions, 0 deletions
diff --git a/serve-testpages b/serve-testpages
new file mode 100755
index 000000000..b0451cd1f
--- /dev/null
+++ b/serve-testpages
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Start a web server on port 8000 to serve test pages for the wallet extension.
+
+set +x
+
+# directory where our script resides
+mydir="$(dirname "$(readlink -f "$0")")"
+
+cd "$mydir/testpages/"
+exec python3 -m http.server 8000