Overview of Django App Deployment (1)
Currently, your app is available only on your computer through the localhost address or a Private IP address of your local network. Thanks to the runserver
command, running a Django app is very easy in the local development environment.
To make your app accessible to anyone, you need to deploy your Django app on a server. You can use your computer as a server, but usually, we use commercial services, such as the public cloud, VPS (Virtual Private Server), or a rental server. You also need to use a Public IP address so that the app can be accessed through the Internet. As the app will be exposed publicly, you need to adjust app configurations for the production environment.
If you haven't done app deployment before, you may feel that the deployment processes are very complex, but if you go through the process once, you'll understand that you can manage it. As there are a lot of potential pitfalls during the Django app deployment process, we'll explain it step-by-step and in as much detail as possible.