The DevOps Roadmap for 2022 is available for free at devopsfordevelopers.io/roadmap One of the hardest things about learning is understanding how the different components work together. Using this guide, you start with a topic that interests or relates to you. At the end of the section, other related topics are shown allowing you to pick and choose your own path to DevOps mastery. Check it out and leverage the skills you learn to advance your career as a developer, sysadmin, IT Operations, QA and more!
Hey Will! Thanks for the awesome tutorial! Can you please share what DNS Server app you used in your video (timestamp at 22:00) for setting up the custom domain name?
can i use npm run bild in my vs code terminal and later push it into github ropo then pull to this production terminal ...because it is taking too long in ubuntu
I wouldn't. The node_modules folder needs to be built on the system where the application will run. Failing to do so may result in incompatibilities with dependencies. You also want to avoid storing node_modules in your github repo: it's a huge folder that changes frequently. Rely on your package-lock.json file to pin dependency versions
@@genosthegreat7870 aaaah, I gotcha. Yeah, you have to exit Insert mode in vim to enter the command. Sorry, it’s muscle memory now and I don’t even realize I’m doing it. The ESC key will work as well.
Any Idea how to deploy after build a few react/node apps on the same ubuntu server? probably using nginx? it could be server on different url IP/APP1 IP/app2
@@DevOpsForDevelopers HI May You know why it doesn't work in my case? server { listen 80; listen [::]:80; root /var/www/xxx.xxx.xxx.xx; /var/www/xxx.xxx.xxx.xx i have 2 folders portfolio and portfolio2 which have build react code inside of each path Thx a lot for response
Use nvm and you'll never install node packages with sudo again: github.com/nvm-sh/nvm Bonus: it's super easy to switch between different versions of Node.js for different use cases!
The DevOps Roadmap for 2022 is available for free at devopsfordevelopers.io/roadmap
One of the hardest things about learning is understanding how the different components work together. Using this guide, you start with a topic that interests or relates to you. At the end of the section, other related topics are shown allowing you to pick and choose your own path to DevOps mastery.
Check it out and leverage the skills you learn to advance your career as a developer, sysadmin, IT Operations, QA and more!
You DESTROYED this one. Looking forward to your other deployment methods.
Awwww yeah! Thanks!
DevOps in action!! 💯
💥
Ive been waiting for you to do an actual devops cicd project. Looking forward to it. Hope you plan on adding observability to this project.
Aaaaaww yeah! We're gonna have all the bells and whistles before this is done!
Excellent and thank you
You’re welcome!
This is what i needed thanks guru!!please make more type of this.
Make a video on cicd for multiple ec2 servers with git github
lol. Glad you enjoyed. Got more like this coming down the pipeline!
Very nice video Will! I learned quite a bit.
That's awesome- glad it was helpful!
Just what I needed rn.Thanks
Excellent!
Damn I would've needed this a few weeks ago 😂 👌
lol. I should've done a shout-out for the inspiration! 🤣
Oh my god! This video is amazing. Thank you so much! My problems are gone
Right on, glad you found it helpful!
We are waiting ! The vid !!
Lol- almost there!
24:28 lol
Thanksssaa
Does the front end react application is running on port 8080? Whether it must be the same when we run pm2 serve build 8080 --spa ?
Hey Will! Thanks for the awesome tutorial! Can you please share what DNS Server app you used in your video (timestamp at 22:00) for setting up the custom domain name?
Thanks! It's the DNS app for Synology NAS devices. I use my NAS as a local DNS server.
Cheers!@@DevOpsForDevelopers
helps a lot, tnx!
Right on!
can i use npm run bild in my vs code terminal and later push it into github ropo then pull to this production terminal ...because it is taking too long in ubuntu
I wouldn't. The node_modules folder needs to be built on the system where the application will run. Failing to do so may result in incompatibilities with dependencies.
You also want to avoid storing node_modules in your github repo: it's a huge folder that changes frequently. Rely on your package-lock.json file to pin dependency versions
I need to know what the api start script should be for people like me who built something from scratch. I can't get mine working. Keep getting errors.
What is the error?
18:21 what did u click here?
:wq to save the file and edit vim
@@DevOpsForDevelopers before that
@@genosthegreat7870 I’m not sure, I don’t see where I clicked anything before that. Got any additional detail to help me pinpoint it?
@@DevOpsForDevelopers i figured it out
Ctrl c to type in :wq
@@genosthegreat7870 aaaah, I gotcha. Yeah, you have to exit Insert mode in vim to enter the command. Sorry, it’s muscle memory now and I don’t even realize I’m doing it. The ESC key will work as well.
usually how long does it takes to complete npm run build?
A couple of minutes at most
Any Idea how to deploy after build a few react/node apps on the same ubuntu server? probably using nginx? it could be server on different url IP/APP1 IP/app2
Yeah, using a different path for each using Nginx would work.
@@DevOpsForDevelopers HI May You know why it doesn't work in my case?
server {
listen 80;
listen [::]:80;
root /var/www/xxx.xxx.xxx.xx; /var/www/xxx.xxx.xxx.xx i have 2 folders portfolio and portfolio2 which have build react code inside of each path
Thx a lot for response
What pm2 command do I run for a plain node ts app when I built one from scratch?
pm2 start "your command here" more info can be found in the pm2 docs: pm2.keymetrics.io/docs/usage/process-management/
@@DevOpsForDevelopers thank you :)
Do you find it easier to type out the key location versus using a config file in your daily workflow or does it depend on the day/project?
My ssh key location?
I always type it out. Decades of muscle memory behind those keystrokes. 🤣
Thank you so much!
you are the best and you don't know it!
I can only connect with same network but If I tried on different network it's not working
I tried to follow along but i guess the dashboard has changed since 2022. npm run build is no longer an option.
where are the videos for this deployment in diffrent ways..
I think these might have what you're looking for:
ua-cam.com/video/ySpOLcZqXmw/v-deo.html
ua-cam.com/video/r0hrb2Hx5Sc/v-deo.html
how did he install pm2 globally without sudo?
Use nvm and you'll never install node packages with sudo again: github.com/nvm-sh/nvm
Bonus: it's super easy to switch between different versions of Node.js for different use cases!
Hello sir! how some one can talk to you pls?