From 9d634c993f7aa1993640706216943ecf2b8f8591 Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Sun, 27 Nov 2022 12:56:37 -0500 Subject: [PATCH] Heroku/Dokku buildpack support --- .buildpacks | 2 ++ Aptfile | 6 ++++++ Procfile | 2 ++ runtime.txt | 1 + 4 files changed, 11 insertions(+) create mode 100644 .buildpacks create mode 100644 Aptfile create mode 100644 Procfile create mode 100644 runtime.txt diff --git a/.buildpacks b/.buildpacks new file mode 100644 index 0000000..a9e3887 --- /dev/null +++ b/.buildpacks @@ -0,0 +1,2 @@ +heroku-community/apt +heroku/python diff --git a/Aptfile b/Aptfile new file mode 100644 index 0000000..055f460 --- /dev/null +++ b/Aptfile @@ -0,0 +1,6 @@ +build-essential +libpq-dev +libxml2-dev +libxslt1-dev +zlib1g-dev +python3-dev diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..c7a241e --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +web: gunicorn takahe.wsgi:application --workers 8 +worker: python manage.py runstator diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..335156c --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +python-3.11.0