Axione-IPE-Viewer/webapp/startGunicornService
Félix Baylac-Jacqué 6308ae9cea ops: deploy webapp on Gaia
Add systemd service + start script and deploy all that on Gaia.
2022-02-22 15:15:29 +01:00

7 lines
183 B
Bash
Executable file

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