Moving things around, combining and splitting ...
This commit is contained in:
9
ares/run-server
Executable file
9
ares/run-server
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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 -w ./www -a '0.0.0.0:9282'
|
Reference in New Issue
Block a user