diff --git a/Procfile b/Procfile index cfcc0f8..9ef93ae 100644 --- a/Procfile +++ b/Procfile @@ -1,4 +1,3 @@ worker: celery -A brightIDfaucet worker -B beat: celery -A brightIDfaucet beat -l INFO -release: python manage.py migrate web: gunicorn brightIDfaucet.wsgi --workers 2 --threads 2 diff --git a/app.json b/app.json index cfa0bec..fa504f7 100644 --- a/app.json +++ b/app.json @@ -13,6 +13,9 @@ "quantity": 1 } }, + "scripts": { + "postdeploy": "python manage.py migrate" + }, "healthchecks": { "web": [ {