aboutsummaryrefslogtreecommitdiff
path: root/serve-testpages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-11-25 20:41:31 +0100
committerFlorian Dold <florian.dold@gmail.com>2015-11-25 20:46:36 +0100
commit7b6706bee3cbecc84b330672ecdb5764d7d68756 (patch)
tree5941b2d8a53296a4e64712068f82717205840a05 /serve-testpages
Add skeleton for WebExtensions wallet
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