How To Deploy Django To Digital Ocean | Django E-Commerce Website | Part 9 | Django Hosting

  Рет қаралды 18,079

Code With Stein

Code With Stein

Күн бұрын

Learn how to deploy a Django project to a live server on Digital Ocean. I do things from scratch. I create a new server, update and install all of the software.
Then I proceed to setting up the environment, getting the code and similar.
If you want to try Digital Ocean your self, you can get $200 dollar by clicking the link below (This also helps me out):
m.do.co/c/d3cd...
--
Commands:
sudo apt update
sudo apt upgrade
sudo apt install python3-pip python3-dev nginx
pip install --upgrade pip
python3 venv -m petnet_env
mkdir -p /webapps/petnet/
cd /webapps/petnet/
sudo groupadd --system webapps
sudo useradd --system --gid webapps --shell /bin/bash --home /webapps/petnet petnet
pip install -r requirements.txt
---
Code With Stein Premium
If you want to learn even more from me, check out my website codewithstein.com where you can track progress, talk to me and similar :-D
Support me
Donate: www.paypal.com...
Patreon: / codewithstein
Merch: shop.spreadshi...
Important links
Discord: / discord
Github: github.com/Ste...
Twitter: / codewithstein
Website: codewithstein.com
---
#codewithstein #django #digitalocean #hosting #deploy #deployment #djangodigitalocean #python #learndjango #djangotutorial #pythondjango #djangoecommerce #ecommercewebsite

Пікірлер: 48
@wienwinsituation
@wienwinsituation 2 жыл бұрын
Love that you have trouble and show how you troubleshoot. Too many on KZbin drives too safe, so the viewers don’t learn what to do when shit hits the fan!
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thanks 😁 yeah, I think it is a very important part of Development ☺️
@trosgate
@trosgate 2 жыл бұрын
This might be my second comment in your entire channel but that again is a confirmation of my respect for you. There are projects you build for free here but others sell their systems of less value compared to yours. Not really here for comparison but to tell you that we love you and your channel that we will go all out to share this channel. And oh! Thanks for your "Time tracking saas with Django" tutorial. Keep up
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thank you so much for the comment! This means a lot to hear 😁
@pm1234
@pm1234 8 ай бұрын
Fantastic tutorial, Thank you Stein! 1 year after you posted it, I finally learned Django the right way with you :) Like you, I kept a log of each step with main actions. It took me days to go through this series. I hope to learn more!! Ha det!
@CodeWithStein
@CodeWithStein 8 ай бұрын
Nice :-D Glad to hear that you enjoyed it :-D
@george491
@george491 Жыл бұрын
Great respect for you. Forever grateful for all your videos.
@george491
@george491 Жыл бұрын
Would you consider a video involving adding security to the website
@CodeWithStein
@CodeWithStein Жыл бұрын
Thanks :-D
@CodeWithStein
@CodeWithStein Жыл бұрын
What sort of security are you thinking about? :-)
@george491
@george491 Жыл бұрын
@@CodeWithStein For example SSL and a web application firewall.... I have also noticed that after deployment of a website on Digital Ocean, the admin panel visual appearance is not working... how can I go about this
@rickships1333
@rickships1333 2 жыл бұрын
Hey Stein, thx for the good content. I rly hope that you give this project more sessions! Like put in a contact form, responsive navbar, darkmode toggle, kind of premium account for vendors, clean order page etc. Thx again for the work, i like and upvote were i can to suport :)
@CodeWithStein
@CodeWithStein Жыл бұрын
You’re welcome, glad you liked it 😁
@tharushafernando6688
@tharushafernando6688 Жыл бұрын
Great content man. I have two seperate react apps tgat work with django back end. Can host both of them in same droplet??
@CodeWithStein
@CodeWithStein Жыл бұрын
Thanks! Yes you can, no problem ☺️
@biographyer1929
@biographyer1929 Жыл бұрын
Love from India
@CodeWithStein
@CodeWithStein Жыл бұрын
☺️
@noneofmynameswork1
@noneofmynameswork1 9 ай бұрын
You should make a video about hosting multiple websites from a single droplet (mentioned at 6:32)
@CodeWithStein
@CodeWithStein 9 ай бұрын
That is a good idea :-D Will add it to my list :-)
@euriperez9586
@euriperez9586 2 жыл бұрын
Great as always!
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thanks :-D
@johnmccarthy7971
@johnmccarthy7971 2 жыл бұрын
Good tutorial. Thanks
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thanks :-D
@saber6445
@saber6445 2 жыл бұрын
Do you have any idea how you can use subdomains?
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Yes, but subdomains isn’t usually connected to Django. But to the server 😉
@saber6445
@saber6445 2 жыл бұрын
@@CodeWithStein i am using namecheap. How can I connect that domain to the server, and then add subdomains. Like what do I need to do with the DNS
@saber6445
@saber6445 2 жыл бұрын
I already have a VPS with ubuntu. Can I use that instead?
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Hey, sure you can :-)
@abdessamade6995
@abdessamade6995 2 жыл бұрын
great tutorial thank you
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thanks :-D
@davidlouis1076
@davidlouis1076 Жыл бұрын
Is it okay to use the tailwind css for production?
@CodeWithStein
@CodeWithStein Жыл бұрын
Yes, but not the CDN. You should build it correctly. Here is a guide :-) tailwindcss.com/docs/installation
@davidlouis1076
@davidlouis1076 Жыл бұрын
@@CodeWithStein thank you 😊
@Coden69
@Coden69 2 жыл бұрын
Thanks mann
@CodeWithStein
@CodeWithStein 2 жыл бұрын
You're welcome :-D
@ibrahimoglu
@ibrahimoglu 2 жыл бұрын
👍
@CodeWithStein
@CodeWithStein 2 жыл бұрын
:-)
@charlesmay2000
@charlesmay2000 2 жыл бұрын
Hey, I've been trying to find content on django-celery and django-celery-beat because I have a need for it in my project but can't figure out how to get it working. There isn't much out there on it so I think if you made some videos revolving around that you could help a lot of people like me! What I'm doing is a simple status app for a group of people that works as a chat room using channels, and I wanted to add in an option to schedule yourself out between 2 times w/ django-celery-beat.
@CodeWithStein
@CodeWithStein Жыл бұрын
Hey, I haven’t used celery in a while. I might look into it in a while, but not for a while :/ too busy now :/
@def_username
@def_username Жыл бұрын
have you found an answer to this?
@saber6445
@saber6445 2 жыл бұрын
How can I connect sa mysql database
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Hey, just search for mysql or Postgresql on my channel, I have some tutorials on it 👍🏻
@saber6445
@saber6445 Жыл бұрын
my domain is not showing. the ip is the one that shows my website I am using namecheap. my nginx looks to be correct
@CodeWithStein
@CodeWithStein Жыл бұрын
Hey, did you manage to solve this?
Deploy Django with Digital Ocean App Platform
19:29
Legion Script
Рет қаралды 10 М.
How to Deploy Django on Nginx with uWSGI (full tutorial)
37:57
Tony Teaches Tech
Рет қаралды 91 М.
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,2 МЛН
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Funny superhero siblings
Рет қаралды 11 МЛН
Build a Django App on DigitalOcean
32:39
DigitalOcean
Рет қаралды 20 М.
How to deploy a NextJS app on Digital Ocean instead of Vercel
20:47
Coding with Robby
Рет қаралды 10 М.
How to Secure Your Local Network with SSL and Custom Domains - #13
16:22
Tech - The Lazy Automator
Рет қаралды 26 М.
Deploying Django with Docker Compose, Gunicorn and Nginx
15:59
Django road
Рет қаралды 97 М.
How to deploy a Django project with DigitalOcean
31:47
Matt Freire
Рет қаралды 90 М.
Deploy a Django web app to Vercel [FREE]
18:21
Cloud With Django
Рет қаралды 80 М.
Deploy Django Project on Digital Ocean
26:27
CodeWithMuh
Рет қаралды 9 М.
How to Deploy ML Solutions with FastAPI, Docker, & AWS
28:48
Shaw Talebi
Рет қаралды 13 М.
The 4 best ways to deploy a Django application
7:01
London App Developer
Рет қаралды 120 М.
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,2 МЛН