Attempt #2 at fixing heroku

This commit is contained in:
2021-01-28 03:44:09 +00:00
parent 5319c2f6e3
commit c772744a4b
3 changed files with 3 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
release: python manage.py migrate
release: rm -rf node_modules/ pipeline/ && python manage.py migrate
web: gunicorn PyRIGS.wsgi --log-file -

View File

@@ -2,9 +2,7 @@
"name": "PyRIGS",
"description": "",
"scripts": {
"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": {

View File

@@ -34,6 +34,7 @@
"browser-sync": "^2.26.12"
},
"scripts": {
"gulp": "gulp"
"gulp": "gulp",
"build": "node node_modules/gulp/bin/gulp build"
}
}