You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
323 B
Bash
13 lines
323 B
Bash
#!/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() {
|
|
source "../venv/bin/activate"
|
|
gunicorn wsgi:app -b 0.0.0.0:1120 # <module>:<app> IE <file>:<flask app variable>
|
|
}
|
|
main $@;
|