diff --git a/Procfile b/Procfile index afad9195..91e43543 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ -release: rm -rf node_modules/ pipeline/ && python manage.py migrate +release: python manage.py migrate web: gunicorn PyRIGS.wsgi --log-file - diff --git a/app.json b/app.json index 70cae236..d4718eec 100644 --- a/app.json +++ b/app.json @@ -3,6 +3,7 @@ "description": "", "scripts": { "postdeploy": "python manage.py migrate && python manage.py generateSampleData", + "heroku-cleanup": "rm -rf node_modules pipeline" }, "stack": "heroku-20", "env": {