been searching for hours now but yours worked perfectly thanks
@hayk.simonyan4 ай бұрын
you're welcome!!
@thiagomm5 ай бұрын
AMAZING! Man... you are the one! Better than oficial DO tutorials.
@hayk.simonyan5 ай бұрын
Thanks man! Glad it was helpful
@MeMasterMind3 ай бұрын
super quick and concise. thank you!
@hayk.simonyan3 ай бұрын
You're welcome!!
@tatendamuzenda84424 ай бұрын
i can never thank you enough man
@LSAPilot4 ай бұрын
Amazing Tutorial, helped me so much! One more question: When trying to deploy new code, is it enough to just pull them into my projectdirectory? Or do I have to stop the Server beforehand and restart it afterwards? If so how do I end the service when running in pm2? Kind regards :)
@hayk.simonyan4 ай бұрын
You have to stop and restart the server, and you can use the pm2 stop command - pm2 stop your_app_name. After that, you can pull your changes and then restart the server with the same pm2 command that is shown in the video. Here are some useful commands that you can use pm2.keymetrics.io/docs/usage/process-management/
@KirubelBerhanu-nz3mr3 ай бұрын
Hi, I was wondering if I could also install Postgres on the VM or do I have to buy a separate database cluster Thanks
@KirubelBerhanu-nz3mr3 ай бұрын
I already found the answer thanks
@umutakkiran3 ай бұрын
@@KirubelBerhanu-nz3mr can you share the answer with me please ?
@airubus5611Ай бұрын
@@umutakkiran yes u can install psql or any other db on a vps or just use a docker
@denisvradiy85033 ай бұрын
thank you bro! you saved a lot of time for me!
@hayk.simonyan3 ай бұрын
You're welcome!
@PatrickNoonan4 ай бұрын
Very helpful vid, thanks man!
@hayk.simonyan4 ай бұрын
You’re welcome!!
@eQ-136 ай бұрын
This was a great tutorial. Could you add the deployment of front end too in the same droplet? How do we configure ngnix when both backend and front end are running on the same server?
@hayk.simonyan6 ай бұрын
You can deploy both on the same droplet by configuring Nginx to serve your frontend from the root and proxy /api requests to your backend. This way Nginx will handle both frontend and backend on the same server.
@eQ-136 ай бұрын
@@hayk.simonyan Thank you for your response. Much appreciated.