mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 16:32:15 +00:00
Might fix heroku building
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
*.sqlite3
|
*.sqlite3
|
||||||
*.scss
|
|
||||||
*.md
|
*.md
|
||||||
|
|||||||
2
Procfile
2
Procfile
@@ -1,2 +1,2 @@
|
|||||||
release: node node_modules/gulp/bin/gulp build && python.manage.py collectstatic && python manage.py migrate
|
release: python manage.py migrate
|
||||||
web: gunicorn PyRIGS.wsgi --log-file -
|
web: gunicorn PyRIGS.wsgi --log-file -
|
||||||
|
|||||||
7
app.json
7
app.json
@@ -2,7 +2,9 @@
|
|||||||
"name": "PyRIGS",
|
"name": "PyRIGS",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postdeploy": "python manage.py migrate && python manage.py generateSampleData"
|
"build": "node node_modules/gulp/bin/gulp build",
|
||||||
|
"postdeploy": "python manage.py migrate && python manage.py generateSampleData",
|
||||||
|
"heroku-cleanup": "rm node_modules/ pipeline/"
|
||||||
},
|
},
|
||||||
"stack": "heroku-20",
|
"stack": "heroku-20",
|
||||||
"env": {
|
"env": {
|
||||||
@@ -47,6 +49,9 @@
|
|||||||
"heroku-postgresql"
|
"heroku-postgresql"
|
||||||
],
|
],
|
||||||
"buildpacks": [
|
"buildpacks": [
|
||||||
|
{
|
||||||
|
"url": "heroku/nodejs"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"url": "heroku/python"
|
"url": "heroku/python"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user