Skip to content

Commit

Permalink
Merge pull request #1 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 338e716 + 949c802 commit 5a5606b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
packages = [{include = "tfgha", from = "src"}]

[tool.poetry.dependencies]
python = "^3.12"
python = "^3.10"
duckdb = "^1.1.3"
flask = "^3.1.0"

Expand Down
5 changes: 4 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ resource "aws_instance" "py_server" {
#!/bin/bash
sudo apt-get update
sudo apt-get install -y python3 python3-pip git
pip3 install flask requests
curl -sSL https://install.python-poetry.org | python3 -
echo "/home/ubuntu/.local/bin" >> $GITHUB_PATH
# Clone the GitHub repository
cd /home/ubuntu
git clone https://github.com/proquickly/tfgha.git
cd /home/ubuntu/tfgha
poetry install
cd /home/ubuntu/tfgha/src/tfgha
nohup python3 app.py &
Expand Down

0 comments on commit 5a5606b

Please sign in to comment.