mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Might fix heroku building
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
*.sqlite3
|
||||
*.scss
|
||||
*.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 -
|
||||
|
||||
7
app.json
7
app.json
@@ -2,7 +2,9 @@
|
||||
"name": "PyRIGS",
|
||||
"description": "",
|
||||
"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",
|
||||
"env": {
|
||||
@@ -47,6 +49,9 @@
|
||||
"heroku-postgresql"
|
||||
],
|
||||
"buildpacks": [
|
||||
{
|
||||
"url": "heroku/nodejs"
|
||||
},
|
||||
{
|
||||
"url": "heroku/python"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user