Welcome everyone to part 21 of the web development in Python with Django. In the recent tutorials, I showed you how to migrate your SQLite database to a remote server PostgreSQL database and how to use Google to authenticate users. Specifically, I used vultr provider. Finally, we came to the part where I'll show you how to migrate your Django project to the development server.
So, in this part, I'll work on the same server, migrate our whole project to a remote server, and prepare it for production use.
Out of the box, Django has a built-in server that we use locally. However, it is not suitable for production environments because it is single-threaded and lacks security measures.
This tutorial will cover how to deploy a Django application with Nginx, Gunicorn, PostgreSQL, and Let's Encrypt SSL on an Ubuntu server.
Text version tutorial: https://pylessons.com/django-deployment
GitHub code: https://github.com/pythonlessons/Djan...
Vultr: https://www.vultr.com/?ref=7396214
#django #programming #educational #technology #web #website
Watch video Django Tutorial - Deploy Django to the production server with Gunicorn and Nginx #21 online without registration, duration hours minute second in high quality. This video was added by user Python Lessons 12 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 22,41 once and liked it 31 people.