diff --git a/Procfile b/Procfile index 91e43543..afad9195 100644 --- a/Procfile +++ b/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 - diff --git a/app.json b/app.json index f54c663f..70cae236 100644 --- a/app.json +++ b/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": { diff --git a/package.json b/package.json index 0d74866a..9c2d6290 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "browser-sync": "^2.26.12" }, "scripts": { - "gulp": "gulp" + "gulp": "gulp", + "build": "node node_modules/gulp/bin/gulp build" } }