prepares app for heroku deployment