Deploying BrowserQuest on Heroku

I can deploy my code to Heroku but it seems that the state always crashed. What are the things that i have to configure to get the things set up?