Using aspen instead of homespun wsgi thingy

This commit is contained in:
Dan Buch
2012-05-18 01:33:35 -04:00
parent d6d4cd1ec0
commit b649e10ae8
5 changed files with 76 additions and 152 deletions

8
ares/serve Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
which aspen >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "You need to 'pip install aspen'"
exit 1
fi
cd $(dirname $(readlink -f $0))
exec aspen -w ./www -a '0.0.0.0:9282'