Make sure you have Java and Maven installed. Also, install the Heroku CLI.
$ git clone https://github.com/AKholetsky/takeWithHeroku.git
$ cd takeWithHeroku
$ mvn install
$ heroku local:start --port=$(port)Your app should now be running on (http://localhost:$(port)/).
$ heroku create
$ git push heroku master
$ heroku open