Skip to content

Commit

Permalink
add heroku configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscobmacedo committed Mar 28, 2024
1 parent 5d8822c commit 0e765c9
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
release: python manage.py migrate
web: gunicorn dm_regional_site.wsgi
43 changes: 43 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "CS Demand Model Regional",
"keywords": [
"Social Finance",
"Demand Model",
"Children Services"
],
"repository": "https://github.com/SocialFinanceDigitalLabs/cs-demand-model-regional",
"success_url": "/",
"env": {
"DJANGO_SECRET_KEY": {
"description": "The Django SECRET_KEY - do not share this value",
"generator": "secret"
},
"DISABLE_POETRY_CREATE_RUNTIME_FILE": {
"description": "We provide a specific python version in runtime.txt.",
"value": "1"
},
"POETRY_VERSION": {
"description": "poetry version",
"required": true,
"value": "1.2.2"
}
},
"formation": {
"worker": {
"quantity": 1
},
"web": {
"quantity": 1
}
},
"addons": ["heroku-postgresql"],
"buildpacks": [
{
"url": "https://github.com/SocialFinanceDigitalLabs/python-poetry-buildpack.git"
},
{
"url": "heroku/python"
}
],
"stack": "heroku-22"
}
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.11.6

0 comments on commit 0e765c9

Please sign in to comment.