Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Added migration running to post_compile hook
Browse files Browse the repository at this point in the history
  • Loading branch information
bdero committed Mar 22, 2016
1 parent 193dfd2 commit 01891c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/post_compile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ ln -s -f ../../vendor/node/bin/npm .heroku/python/bin/npm
echo "-----> Compressing static files"
python $MANAGE_FILE compress -f 2>&1 | indent

echo "-----> Running django migrations"
python $MANAGE_FILE migrate --list 2>&1 | indent
python $MANAGE_FILE migrate --noinput 2>&1 | indent

echo

0 comments on commit 01891c8

Please sign in to comment.