filmov
tv
How to Deploy a Flask App to Linux (Apache and WSGI)

Показать описание
So you built a sweet Flask app and you're wondering how to push it to production? In this video I walk through deploying a Flask application to a Linux (Ubuntu) and Apache2 web server using the mod_wsgi Apache module.
0:00 - Intro
0:12 - The Flask app we'll be deploying
00:58 - Upload the app files to your server
1:54 - SSH into the server, install virtual environment
3:22 - Create the WSGI config file
5:49 - Create a VirtualHost config file
8:16 - Enable the new VirtualHost config
8:53 - Install the WSGI Apache module
9:54 - How to debug errors if the Flask app won't run
10:39 - Test the app again - success!
10:58 - Final comments, peace out ✌🏻
---------------------------------------------------------------
WEB HOSTING - VIRTUAL PRIVATE SERVER (VPS)
---------------------------------------------------------------
INSTALL APACHE2
---------------------------------------------------------------
MY DESK SETUP GEAR
---------------------------------------------------------------
Intro music produced by Connor Curley
Комментарии