FULL STACK COURSE (React, Flask, & PostgreSQL): lukepeters.me/build-a-full-st...
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)
I swear by Linode. I've been using them for years. Here's my signup link if you want to help me out :) lukepeters.tech/linode
---------------------------------------------------------------
INSTALL APACHE2
www.digitalocean.com/communit...
---------------------------------------------------------------
MY DESK SETUP GEAR
⌨️ Keyboard - amzn.to/3sR3WEK
🖱 Mouse - amzn.to/3aEBvnc
🖥 Monitor - amzn.to/30pmuzd
🦾 Monitor Mount/Arm - amzn.to/3sLd3Xu
🎤 Microphone - amzn.to/3sRfxUb
🦾 Microphone Arm - amzn.to/3xrxImT
🎛 Microphone Processor - amzn.to/3gConme
⚡️ Thunderbolt Dock - amzn.to/3aE8aJC
🔊 Speakers - amzn.to/3nip0D0
🎧 Headphones - amzn.to/3xoCVfm
🪑 Chair - amzn.to/3eBIw9I
---------------------------------------------------------------
Intro music produced by Connor Curley
22 июл 2024