summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Kennedy2022-11-27 12:56:37 -0500
committerGitHub2022-11-27 10:56:37 -0700
commit9d634c993f7aa1993640706216943ecf2b8f8591 (patch)
tree6d15d9464bed62d2b46c24b6f630cdde22a6fa6f
parentbc54e1856c09c8976ed89455cb09ba0f9abc2f03 (diff)
downloadtakahe-9d634c993f7aa1993640706216943ecf2b8f8591.tar.gz
takahe-9d634c993f7aa1993640706216943ecf2b8f8591.tar.bz2
takahe-9d634c993f7aa1993640706216943ecf2b8f8591.zip
Heroku/Dokku buildpack support
-rw-r--r--.buildpacks2
-rw-r--r--Aptfile6
-rw-r--r--Procfile2
-rw-r--r--runtime.txt1
4 files changed, 11 insertions, 0 deletions
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