you did a great job. seen a lot of videos and articles but didn't get an explanation like yours. you tried to delivered each and every detail of the complete process. great explanation
Great tutorial! My only feedback is if you could "clear" the screen after screen full of output is displayed before running the next command to clearly see what command is currently running.
Great video! Thanks. On second attempt, I find using 'nano' is easier than 'vi' to edit the file because it allows me to copy and paste. That is: sudo nano example.conf sudo nano /etc/systemd/system/example.service
When i am deploying each and every step is going in same way like you did but the last step i am not getting output. I am getting 502 error but i have already check nginx and everything but still not able to get desired output or my app please reply me
I have never tried it but here is what I think you have to do. You have create and maintain the database, which I would recommend doing via API or a python flask app. You have to get use token for authentication. I hope this help.
hi, sorry. i have done the same that u do in this video but i have a "bad gateway" error in browser and " Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory" in ubuntu console. ¿what do you think? i have investigated and people say that maybe my app is too big
Hi Felix, to test your hypothesis, you can host a simple project and check if your setup is working. Like "Hello World" app from NextJS. If that is working, that means your setup is correct. If you getting JS heap out of memory then perhaps yes, you need better configuration machine. Let me how it goes?
@@felixeduardomirandateran824 There is one more thing. In your project, you must be having .gitignore. In the gitignore file, if you remove .next folder, then you can build you app on your laptop and push everything to github and then just pull the entire built project on your server. This trick pushes lots of files to github but should fix your problem. Let me know!!
Thanks for the excellent explanation, I finally understand whats going on
Glad it helped!
Signed into my personal account just to like and comment. You sir, are a god among men.
OMG thank you for your kind words. You made my day :)
Çok büyük adamsın hocam . Senin gibiler 100 yılda bir gelir
I had to translate your comment but I am glad that I did. Thank you for much for such a great complement.
Dude, You explain so good, don't stop the videos and the motivation on teaching, you'll reach far!
Well done
i really like your teaching style. Please keep on posting more videos. I will forever be a watcher from now on. 😀👍
thank you so much for your comment. It means a lot to me :)
Thank you. Your content and way of explaining is real helpful.
Glad you think so!
you did a great job. seen a lot of videos and articles but didn't get an explanation like yours. you tried to delivered each and every detail of the complete process.
great explanation
Thank you for your valuable comment :)
Thank you @It's OK To Be Logical, this video is very helpful and I have deployed my first react app by following your video. Liked👍 and Subscribed
I am glad that I was able to help :)
Very good presentation. Its quality explanation. thanks a lot
Glad you liked it
Great tutorial! My only feedback is if you could "clear" the screen after screen full of output is displayed before running the next command to clearly see what command is currently running.
Thanks for the tip! I will keep that in mind :)
Great video! Thanks.
On second attempt, I find using 'nano' is easier than 'vi' to edit the file because it allows me to copy and paste.
That is:
sudo nano example.conf
sudo nano /etc/systemd/system/example.service
nano is indeed a great alternate :)
The commands you typed are working regardless of user's computer operating system? Or they must be adjusted depending on user's computer ?
This is year 2024, This video is very helpful. God bless you in Jesus name Amen.
When i am deploying each and every step is going in same way like you did but the last step i am not getting output. I am getting 502 error but i have already check nginx and everything but still not able to get desired output or my app please reply me
Hi Vikas, there has to be something missing. 502 means bad gateway which indicates that your NGINX setting is perhaps not correct.
if we use centos is it the same procedure
As long as the operating system is same then its should be 1-1 implementation otherwise you have to improvise.
Is it right that I can only install version 12.x for nodejs and not higher ?
you should be able to install higher versions given it is compatible with other libraries you are using
Thanks @@logiclab10 . I have been able to do it after aws support's help.
hey thank for vedio
How can i deploy my react app with mongo db database for authentication.....
is it same or needs any config
I have never tried it but here is what I think you have to do. You have create and maintain the database, which I would recommend doing via API or a python flask app. You have to get use token for authentication. I hope this help.
Best video but i am facing 502bad gate way instead of Nodejs app 🥺
Did you forget to start your nodejs app? Generally you get bad gateway when the underlying app is not running.
can i do the configuration in default?
I am sorry, I did not understand your question
hi, sorry. i have done the same that u do in this video but i have a "bad gateway" error in browser and " Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory" in ubuntu console. ¿what do you think? i have investigated and people say that maybe my app is too big
Hi Felix, to test your hypothesis, you can host a simple project and check if your setup is working. Like "Hello World" app from NextJS. If that is working, that means your setup is correct. If you getting JS heap out of memory then perhaps yes, you need better configuration machine. Let me how it goes?
@@logiclab10 Thanks, i will try
@@felixeduardomirandateran824 There is one more thing. In your project, you must be having .gitignore. In the gitignore file, if you remove .next folder, then you can build you app on your laptop and push everything to github and then just pull the entire built project on your server. This trick pushes lots of files to github but should fix your problem. Let me know!!
will the ip address of the ec2 instance remain constant?
in general yes. The address will change if you goto AWS and stop/restart the server.