summaryrefslogtreecommitdiffstats
path: root/run-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-server.sh')
-rwxr-xr-xrun-server.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/run-server.sh b/run-server.sh
new file mode 100755
index 0000000..556f9d3
--- /dev/null
+++ b/run-server.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Copyright (c) 2012 Kaarle Ritvanen
+# See LICENSE file for license details
+
+cd $(dirname $0)
+
+exec uwsgi -M --http :${1:-80} --plugin /usr/lib/uwsgi/lua_plugin.so --lua server.lua --remap-modifier 6:0 --static-map /browser=web --static-index client.html