After cloning the project and installing heroku cli.
If you already have a heroku project:
git remote add heroku <heroku_project_git_address>
If you don't have one:
heroku create
Then,
git push heroku master
https://devcenter.heroku.com/articles/deploying-nodejs
https://devcenter.heroku.com/articles/node-websockets#option-2-socket-io
heroku local web
heroku logs --tail
heroku ps:scale web=0
heroku ps:scale web=1
https://devcenter.heroku.com/articles/getting-started-with-nodejs?singlepage=true