Might fix heroku building

This commit is contained in:
2021-01-28 03:33:06 +00:00
parent aa525372a2
commit 5319c2f6e3
3 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,2 @@
*.sqlite3 *.sqlite3
*.scss
*.md *.md

View File

@@ -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 -

View File

@@ -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"
} }