From dc280095c5e5f194d65ff410db54bdb88458d97b Mon Sep 17 00:00:00 2001 From: Andy Miles Date: Thu, 5 Dec 2024 12:35:56 -0800 Subject: [PATCH] test with poetry in User --- terraform/main.tf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index ac0e1d0..737eac7 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -37,16 +37,15 @@ resource "aws_instance" "py_server" { python3 -m venv /home/ubuntu/sys python3 -m pip install -U poetry - # Clone the GitHub repository cd /home/ubuntu git clone https://github.com/proquickly/tfgha.git cd /home/ubuntu/tfgha - /home/ubuntu/.local/bin/poetry lock - /home/ubuntu/.local/bin/poetry install + /usr/local/bin/poetry lock + /usr/local/bin/poetry install cd /home/ubuntu/tfgha/src/tfgha - nohup /home/ubuntu/.local/bin/poetry run python app.py & + nohup poetry run python app.py & EOF tags = {