2022-02-22 14:57:07 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
2023-03-03 14:33:52 +01:00
|
|
|
POETRY_BIN=${REPO_DIR-/srv/www/ftth-ipe-map}/.poetry/bin
|
|
|
|
|
|
|
|
export PATH="/usr/bin/:/bin/:$POETRY_BIN"
|
2022-02-22 14:57:07 +01:00
|
|
|
poetry install
|
2022-12-09 15:21:07 +01:00
|
|
|
poetry run gunicorn -b "localhost:${PORT}" --timeout 120 'main:app'
|