summaryrefslogtreecommitdiff
path: root/bin/backend-run
blob: 0e9334644b78236c1b5d43d7597ee4b916aeb172 (plain)
1
2
3
4
5
6
#!/bin/bash
DIR=$(dirname $0)
SCRIPT=$(echo $1 | sed 's/\.py\$//')
shift
export PYTHONPATH=$DIR/../app/backend/
python $PYTHONPATH/$SCRIPT.py $@