You're the best teacher I never had in school lol. Straight to the point. It was a big help for my first Django project. I had a question: How would you set up CI/CD?
Thank you for the kind words! If you wanted to setup CI/CD, you would have to create a pipeline on aws that handles that. I will probably make a tutorial on that very soon
Thank you! I didn’t set debug to false because i was just using it as a test project for deployment. Obviously for a serious project, I would set debug to false.
Did you make use of whitenoise? In order to make sure static files are displayed, watch the video below where I explain how to set up static files in production: ua-cam.com/video/OeywgMArAGM/v-deo.html
Yes you can store your data on aws but you need to create a database, but data also gets saved by default to your SQLlite database in your projects folder.
@@the_proton_guy yes but when i connect icouldnt find EC2 Instance Connect there is just Session Manager RDP client EC2 serial console and show this "Connect to your instance i-051622d749498a722 (server1) using any of these options " i really need help its for my final year project please help me
@@the_proton_guy yes i did but when i connect i could'nt find EC2 Instance Connect i only find Session Manager RDP client EC2 serial console and there is error message SSM Agent is not online The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service. please help me its for my final year project i really need help can i contact you on instagram or ur email please
to keep it running, run the following: nohup python3 manage.py runserver 0.0.0.0:8000 & This will emsure that even after you close the tab, your server keeps running
Thanks a lot bro. After days of struggling, I am finally there. 😀
You’re welcome!
Wow! This was so helpful
You're the best teacher I never had in school lol. Straight to the point. It was a big help for my first Django project. I had a question: How would you set up CI/CD?
Thank you for the kind words! If you wanted to setup CI/CD, you would have to create a pipeline on aws that handles that. I will probably make a tutorial on that very soon
@@the_proton_guy Awesome, I look forward to it! I'm so glad I found your channel, keep it up and thank you
Thank you 🥳
Actually worked, Thank you
Glad I could help 🎉
Thanks alot bro! this made it easy for me🙏
Glad I could help 🎉
great video..thanks
You’re welcome
Thank you for this video, i will like to know if this method still work... thank you once again.
Yea it does
you helped me a lot
I’m glad I could 🎉
I was stucked at the security group part
just had to expose 8000 port
Thanks for the explanation :)
Glad I could help 🎉
Why you haven't exposed port 80 and 443 for proper deployment?
Thank You so much!
You’re welcome! 🎉
Thank you. it helped me a lot. Saludos
Glad I could help 🥳
Great tutorial, however, seeing as you're now in production why have you not set debug = false in your settings.py file?
Much appreciated.
Thank you! I didn’t set debug to false because i was just using it as a test project for deployment. Obviously for a serious project, I would set debug to false.
@@the_proton_guy🙏👍
When i disconnect EC2 instance connect, the address stops working. What is the solution to this?
For this, you have to run your server in the background. To do this, run the following command:
nohup python manage.py runserver 0.0.0.0:8000 &
How to add custom domain in place of ip:8000
Change dns settings
Great video brother. Thank you.
Thank you!
When I have added an inbound rule. After when I i refresh I am getting "This site can't provide a secure connection". How to resolve it?
I deployed an e-commerce app, but now I can't see any of the products, how do i fix this?
You can’t see any product? Is your database present?
how to we push new github update on that??
You’ll need to setup a ci/cd pipeline
what are the dependents you install using requirements.txt
What do you mean? The required modules are in the requirements.txt file so we are installing from there
Sir my static files isnt displayed what should i do
Did you make use of whitenoise?
In order to make sure static files are displayed, watch the video below where I explain how to set up static files in production:
ua-cam.com/video/OeywgMArAGM/v-deo.html
I wouldn't be charged right even if i keep the server running
Perhaps
OK thanks then i must delete the instance ig
@vivekkolambe5303 yes, you should
Ans what about the staticfiles ?
Check this video out where I explain how to serve Django websites in production:
ua-cam.com/video/OeywgMArAGM/v-deo.htmlsi=ijy3_nhglI5xCOTU
Please how do i get the requirements
Requirements file?
Will this also store data in aws only?
Yes you can store your data on aws but you need to create a database, but data also gets saved by default to your SQLlite database in your projects folder.
i use windows what i should do ?
You picked a windows os on the EC2 instance?
@@the_proton_guy yes but when i connect icouldnt find EC2 Instance Connect there is just
Session Manager
RDP client
EC2 serial console and show this "Connect to your instance i-051622d749498a722 (server1) using any of these options " i really need help its for my final year project please help me
@@the_proton_guy yes i did but when i connect i could'nt find EC2 Instance Connect i only find
Session Manager
RDP client
EC2 serial console and there is error message SSM Agent is not online
The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service. please help me its for my final year project i really need help can i contact you on instagram or ur email please
i want it in cicd through github
Coming up today 🫡
where are you from?
Nigeria
what you just showed stops the moment you stop running the server. that is not real development
You should have asked instead if there is a way to run it in the background, and yes there is a way
to keep it running, run the following:
nohup python3 manage.py runserver 0.0.0.0:8000 &
This will emsure that even after you close the tab, your server keeps running
Bro you are the best ,really much love ❤❤😭😭🫧🫧🫧
Glad I could help 🥳
Good evening to you, I would love to contact you. Please how can I contact you?
Good evening! You can send me a message on Instagram. My username is the_proton_guy
@@the_proton_guy I've sent you a message.
@@the_proton_guy big thanks to you,