0
Have a project that uses Node.js, Websockets, Socket.io and HTML5 running on my internal wireless network. I want to put you public using Heroku.
Please tell me the steps to be followed so I can reach my goal.
0
Have a project that uses Node.js, Websockets, Socket.io and HTML5 running on my internal wireless network. I want to put you public using Heroku.
Please tell me the steps to be followed so I can reach my goal.
3
heroku login
in the shellheroku create
in the shellIf it doesn’t exist, create a Procfile
at the root of the project with the following:
web: node app.js
Deploy by typing in git push heroku master
in the shell
Questions? More details? https://devcenter.heroku.com/articles/getting-started-with-nodejs
2
In addition to what Gypsy mentioned, you will have to activate the websockets in your application before other settings, as it is still experimental in Heroku:
heroku labs:enable websockets
There’s more here:
https://devcenter.heroku.com/articles/node-websockets
Between 4 and 5, if you haven’t already, you have to have a git repository in your project, with a remote added:
git remote add heroku [email protected]:seu-app-name.git
Follow the steps, if you have any problem or more punctual question, expose to us.
Per comb: having Heroku will not need dynamin Dns (dyndns) in Raspberry pi ? Nor install ddclient in Raspberry pi ?
Browser other questions tagged node.js deploy heroku
You are not signed in. Login or sign up in order to post.
ė linux
– user9034