2020-02-22 04:31:22 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# set -o xtrace ## To debug scripts
|
|
|
|
# set -o errexit ## To exit on error
|
|
|
|
# set -o errunset ## To exit if a variable is referenced but not set
|
|
|
|
|
|
|
|
|
|
|
|
function main() {
|
2021-02-14 01:17:11 +00:00
|
|
|
source "../venv/bin/activate"
|
2020-02-22 04:31:22 +00:00
|
|
|
gunicorn wsgi:app -b 0.0.0.0:1120 # <module>:<app> IE <file>:<flask app variable>
|
|
|
|
}
|
|
|
|
main $@;
|