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
*.scss
*.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 -

View File

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