How to deploy dash with heroku

HELLO ALL, I WANT TO PUBLISH MY DASH WEBSITE FOR PUBLIC. MY CODE USES MANY USER DEFINED FUNCTIONS AND THESE USER DEFINED FUNCTIONS DERIVES VALUES FROM MY LOCAL MYSQL SERVER. I TRIED TO DO THIS USING HEROKU, BUT IT FAILED TO PUSH IN THE LAST STEP. SO IF ANYONE CAN HELP IN GIVING STEP BY STEP TUTORIAL TO DEPLOY HEROKU, IT WOULD BE GREAT.
Thanku very much.