Skip to content

Commit

Permalink
chore: add heroku and gunicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
borolepratik committed May 18, 2024
1 parent daab99b commit 62d56fc
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
run: poetry self add 'poethepoet[poetry_plugin]'

- name: Install dependencies
# run: poetry install --no-root --with dev,lint,test
run: poetry install --no-root --with dev,lint
run: poetry install --no-root --with dev,lint,test

- name: Python Format (autoflake/isort/black)
run: poetry poe formatters
Expand Down
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn -w 4 -k uvicorn.workers.UvicornWorker app.main:app
23 changes: 22 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ readme = "README.md"
[tool.poetry.dependencies]
fastapi = "^0.111.0"
fastf1 = "3.3.6"
gunicorn = "^22.0.0"
newrelic = "^9.9.1"
python = "3.12.3"
python-dotenv = "^1.0.1"
Expand Down

0 comments on commit 62d56fc

Please sign in to comment.