Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 827 Bytes

README.md

File metadata and controls

59 lines (37 loc) · 827 Bytes

Quick heroku setup

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

References

https://devcenter.heroku.com/articles/deploying-nodejs

https://devcenter.heroku.com/articles/node-websockets#option-2-socket-io

Important heroku commands

Running it locally

heroku local web

How to access heroku logs?

heroku logs --tail

Scaling the app

Shutting it down

heroku ps:scale web=0

Getting it up again

heroku ps:scale web=1

References

https://devcenter.heroku.com/articles/getting-started-with-nodejs?singlepage=true