Skip to content

Commit

Permalink
Merge pull request #3 from proquickly/develop
Browse files Browse the repository at this point in the history
tryout of poetry
  • Loading branch information
proquickly authored Dec 5, 2024
2 parents 8cc94fe + 48f6177 commit 1f6c5b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_instance" "py_server" {
user_data = <<-EOF
#!/bin/bash
sudo apt-get update
sudo apt-get install -y python3 python3-pip git
sudo apt-get install -y python3 python3-pip git curl
curl -sSL https://install.python-poetry.org | python3 -
# Clone the GitHub repository
Expand All @@ -19,7 +19,7 @@ resource "aws_instance" "py_server" {
/home/ubuntu/.local/bin/poetry install
cd /home/ubuntu/tfgha/src/tfgha
nohup python3 app.py &
nohup /home/ubuntu/.local/bin/poetry run python3 app.py &
EOF

tags = {
Expand Down

0 comments on commit 1f6c5b3

Please sign in to comment.