Search for "Local Heroku Server" and you will find lots of threads like this about how to do it:
I actually just got it done a few days ago.