Reputation: 97
When running the site locally, I include all my node files in the same folder as the index.html file and then from the console I run the server side js which is node-dependent.
So in hosting this online, do I upload all the node files into the website directory? and how do I run the serverside js once the website is ready to be run?
thanks
Upvotes: 0
Views: 78
Reputation: 651
You need to find a hosting service that supports node.js. Heroku is a good option for starting out. They have a free tier available. Once you have signed up, setting up your site and deploying it is quite simple if you're using a git repository and their command-line tools.
Upvotes: 1