Objective
Install and configure Ubuntu 18.04 to host the Django framework.
Distributions
Ubuntu 18.04
Requirements
A working install of Ubuntu 18.04 with root privileges
Difficulty
Medium
Conventions
- # – requires given linux commands to be executed with root privileges either directly as a root user or by use of
sudo
command
- $ – requires given linux commands to be executed as a regular non-privileged user
Introduction
If you’re looking to build and host web applications with Python, Django is the most popular choice. Since Python is so tightly integrated into the Linux, it’s not too hard to get a Django server set up on Ubuntu.
There isn’t one set way to host Django projects, but a stack consisting of PostgreSQL, Nginx, Gunicorn, and Django is pretty much the standard.
Read more