From c772744a4b7e5f1724dd80d5a6c51aca6f798fb7 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Thu, 28 Jan 2021 03:44:09 +0000 Subject: [PATCH] Attempt #2 at fixing heroku --- Procfile | 2 +- app.json | 2 -- package.json | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) 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" } }