2012-05-18 05:33:35 +00:00
|
|
|
#!/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))
|
2012-05-18 11:49:25 +00:00
|
|
|
export PYTHONPATH="$PWD:$PYTHONPATH"
|
2012-05-18 15:18:41 +00:00
|
|
|
exec aspen --changes_reload=yes -w ./www -a '0.0.0.0:9282'
|