Split deployment into local and heroku sections.