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 createThen,
git push heroku masterhttps://devcenter.heroku.com/articles/deploying-nodejs
https://devcenter.heroku.com/articles/node-websockets#option-2-socket-io
heroku local webheroku logs --tailheroku ps:scale web=0heroku ps:scale web=1https://devcenter.heroku.com/articles/getting-started-with-nodejs?singlepage=true