Skip to content

Commit

Permalink
Add postdeploy scripts to setup database
Browse files Browse the repository at this point in the history
  • Loading branch information
smartspot2 committed Dec 23, 2021
1 parent ad41427 commit 46fc456
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
{
"url": "heroku/python"
}
]
],
"scripts": {
"postdeploy": "python3 csm_web/manage.py migrate && python3 csm_web/manage.py createtestdata --yes"
}
}
}
}

0 comments on commit 46fc456

Please sign in to comment.