top of page

Python - Deploying Bottle Web Apps



Class Notes:


Class Description:

We've done a number of classes showing how you can use the Python Bottle Framework to easily and quickly build simple web applications. We have run these scripts locally, but in order to "deploy" these apps we need to add some additional steps.


We'll go over how to create a Virtual Environment with venv to package our app.

We'll then use Gunicorn as the web server for our web app to add multi thread support to make the app more reliable and secure.


Finally we'll use NGINX as a reverse proxy server so that web users can access our app as if it's any normal website or app on the internet.


This class is specifically for Bottle, but the process is basically the same for any Python Web Framework such as Django or Flask.


The class will go over:

  • Virtual Environment with venv

  • Using Gunicorn and setting up our script properly

  • Creating a service to auto start Gunicorn when the system boots

  • Configuring NGINX to forward to Gunicorn


3 views0 comments

Recent Posts

See All

Комментарии


bottom of page