Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
so buy vps and deploy. they will give root access so you can apt and npm anything. for cheap ones i recommend time4vps (europe, $3/mo)
-
olezhka25767y@MaxDeepfield I have all of that. Was wondering more on about the methodologies or best practices if how people do the deployments. Docker containers, script samples.
-
@olezhka that makes sense. so your deployment can be easy as gitlab instance with continous integration scripts. for websites we use simple ftp uploads. node needs to be restarted. if you put gitlab runner on prod machine it can restart nodes for you after successful commit.
-
olezhka25767y@MaxDeepfield thanks, will research that! Currently I push to gitlab, login to vps, pull, etc :D
-
htlr52077yInstall git on both ur local and cloud, from local git push, and from cloud clone the repo and "$npm install" if you have .gitIgnored node modules.
Related Rants
Ok peeps!
A newbie to nodejs and linux VPS (ubuntu) would appreciate any tips you could throw my way on how to push locally developed nodejs webapp to prod in vps server 😊
Thanks!
question
nodejs
vps
deployment