...by using Docker
Run ./dockerfile-assemble.sh
. It will update the local copy of the recommended Dockerfile for customization, then merge it with the necessary bits to make it work on Heroku.
Run ./reset.sh
. It will reset the database, then restart the web dyno.