Skip to content

Commit

Permalink
IDPF-115 Replacing Waitress with Granian (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyeniyipa authored Nov 1, 2024
1 parent 31aa570 commit 5afc8f8
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: python manage.py check --deploy && python manage.py migrate --noinput && python manage.py collectstatic --noinput && waitress-serve --port=$PORT config.wsgi:application
web: python manage.py check --deploy && python manage.py migrate --noinput && python manage.py clearcache && python manage.py collectstatic --noinput && granian --interface wsgi config.wsgi:application --workers 4 --host 0.0.0.0 --port $PORT
154 changes: 138 additions & 16 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ django = "^5.1.2"
django-environ = "^0.11.2"
psycopg = "^3.2.3"
redis = "^5.1.0"
waitress = "^2.1.2"
sentry-sdk = "^2.16.0"
dbt-copilot-python = "^0.2.2"
dj-database-url = "^2.2.0"
granian = "^1.6.3"

[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
Expand Down

0 comments on commit 5afc8f8

Please sign in to comment.