How to deploy a Django App to a Linux Server – Part #2 – SSL & HTTPS
| | | | | | | |

How to deploy a Django App to a Linux Server – Part #2 – SSL & HTTPS

Overview This document continues on our self-hosted Django Application on an Ubuntu Linux server.How to deploy a Django App to a Linux Server We will now set up SSL certificates on our server and enable HTTPS on our app. Basic Setup SSH into your service and run the following commands: Apache Configuration Files Change the…

How to deploy a Django App to a Linux Server – Part #1
| | | | |

How to deploy a Django App to a Linux Server – Part #1

Overview This article will document the steps required for hosting a Python Django application on a Linux Server. I will be using Apache and mod-wsgi as our web server.Additionally, I will be hosting the app on a Linux Ubuntu server. SSH into your Linux instance. It is always a good idea to update your system….

| | | | |

Hosting a Flask Application on AWS EC2 with NGINX and Gunicorn

Overview This article will take you through the process of hosting a Python Flask application on an AWS EC2 instance (using an Ubuntu server).We will be using Gunicorn and NGINX as the web app and WSGI. Creating the AWS EC2 instance Create an EC2 instance using an Ubuntu server. Create a security group containing the…

*args and **kwargs

*args and **kwargs

In Python, you can use *args and **kwargs to accept a variable amount of parameters in a functions call. *args will accept unlimited values as a Tuple. **kwargs will accept key pair values as a dictionary. Note that the text, args or kwargs, is not important and can be replaced with any other text. It…