mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Attempt #2 at fixing heroku
This commit is contained in:
2
Procfile
2
Procfile
@@ -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 -
|
||||
|
||||
2
app.json
2
app.json
@@ -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": {
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
"browser-sync": "^2.26.12"
|
||||
},
|
||||
"scripts": {
|
||||
"gulp": "gulp"
|
||||
"gulp": "gulp",
|
||||
"build": "node node_modules/gulp/bin/gulp build"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user