From f53d5b6373309177e657ca21295e045ca1b2be9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Baylac-Jacqu=C3=A9?= Date: Tue, 19 Oct 2021 18:41:05 +0200 Subject: [PATCH] First aquilenet deployment It's hacky as hell, but it's what we currently have deployed... We'll have to come back to that later. --- startGunicornService | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/startGunicornService b/startGunicornService index 4a7c841..36d95db 100755 --- a/startGunicornService +++ b/startGunicornService @@ -1,5 +1,7 @@ -#!/usr/bin/env bash +#!/bin/bash set -euo pipefail -poetry run gunicorn -b "localhost:${PORT}" --timeout 120 'webapp.app' +export PATH="/usr/bin/:/bin/:/srv/www/Axione-FTTH-Test/.poetry/bin/" +poetry install +poetry run gunicorn -b "localhost:${PORT}" --timeout 120 'webapp:app'