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.
12 lines
264 B
12 lines
264 B
#!/usr/bin/env bash
|
|
|
|
THIS_DIR=$(dirname $(readlink -f $0))
|
|
|
|
. $THIS_DIR/venv/bin/activate
|
|
|
|
PYTHONPATH="$THIS_DIR/payyans"
|
|
PYTHONPATH+=":$THIS_DIR/normalizer"
|
|
export PYTHONPATH
|
|
|
|
bindAddress=${BIND_ADDRESS:-'127.0.0.1:8444'}
|
|
gunicorn server:api -b $bindAddress "$@"
|
|
|