You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
247 B
10 lines
247 B
13 years ago
|
#!/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))
|
||
13 years ago
|
export PYTHONPATH="$PWD:$PYTHONPATH"
|
||
13 years ago
|
exec aspen --changes_reload=yes -w ./www -a '0.0.0.0:9282'
|