Рет қаралды 18,079
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