Axione-IPE-Viewer/webapp/startGunicornService

8 lines
179 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
export PATH="/usr/bin/:/bin/:/srv/www/ftth-ipe-map/.poetry/bin"
poetry install
poetry run gunicorn -b "localhost:${PORT}" --timeout 120 'main:app'