Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLucas Santos
19,315 PointsDeploying NodeJs app to a live server
So iv been learning a lot about NodeJs lately and while I have been doing all of this locally which listens to port 3000 it just crossed my mind that in the videos it did not show how you would migrate nodejs to a live server.
How do you go from a local server to a live server?
Do you just drop the files in the ftp like a regular file and leave the app listening to port 3000 or do we change what port the app will be listening to? Basically im asking if there is any changes we have to make to the file in order to take it to a live server.
Also I am using EXPRESS
3 Answers
Sergey Vrenev
28,778 PointsI would like to know the same thing... How without heroku deploy app on cheap vps server with centos, ubuntu and etc? Maybe Huston will create workshop about deploying app on vps?
jason chan
31,009 Pointshttps://www.distelli.com/docs/tutorials/build-and-deploy-nodejs-to-digitalocean
digital ocean is cheapest it gets.
Lucas Santos
19,315 PointsLucas Santos
19,315 PointsThanks man