Skip to content

Commit

Permalink
Merge pull request #11 from proquickly/develop
Browse files Browse the repository at this point in the history
test with poetry in User
  • Loading branch information
proquickly authored Dec 5, 2024
2 parents 1b7b0c3 + dc28009 commit 21cce27
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 21cce27

Please sign in to comment.