box-o-sand/ares/run-server
Dan Buch bfc97737b4 doing some light relation-like stuff
although I spent way too much time on the server side since deciding
to add Redis as "persistence".
2012-05-18 11:18:41 -04:00

10 lines
247 B
Bash
Executable File

#!/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))
export PYTHONPATH="$PWD:$PYTHONPATH"
exec aspen --changes_reload=yes -w ./www -a '0.0.0.0:9282'