Skip to content

Commit

Permalink
Merge pull request #18 from EFForg/17-loadpoliticaldata
Browse files Browse the repository at this point in the history
Run loadpoliticaldata before bringing up production server.
  • Loading branch information
wioux authored Jan 11, 2018
2 parents a8785d1 + d0a25ea commit 785d370
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ start_ngrok() {

case "$FLASK_ENV" in
"production")
python manager.py loadpoliticaldata
exec bash -l -c "uwsgi uwsgi.ini"
;;

Expand Down

0 comments on commit 785d370

Please sign in to comment.