Getting Started
Install Django & Related PIPs
pip3 install django djangorestframework django-cors-headers
pip3 list
python3 -m django --version
Upgrade to latest version
pip3 install django --upgrade
Nginx - theproject.activetechsystems.conf
server {
server_name theproject.activetechsystems.com;
location / {
proxy_pass http://$server_addr:8000;
}
location /static/ {
alias /path/project_dir/static/;
}
...
}
$ sudo ln -s /etc/nginx/sites-available/theproject.activetechsystems.conf /etc/nginx/sites-enabled/
$ sudo certbot --nginx -d theproject.activetechsystems.com
$ service nginx restart
Docs & Youtube Channel
Django Official Docs
Youtube Channel - Github
Youtube Channel - Github