here's a few tools i made to deploy flask apps really fast
Lets you instantly create an nginx config for a website. Even if you have nothing installed on the server
USES PYTHON3
Usage
sudo python3 nginx.py <domain> <ssl>
<domain> (optional) - if none, defaults to catchall
<ssl> (optional) - true|false - letsencrypt ssl
The script uses certbot-auto from the letsencrypt repo
I got sick of figuring out how to use uwsgi with flask. So i made a script to make it faster.
run nginx.py first since you needa a prepared nginx config and a running nginx server
just follow the included template app
letsencrypt - Lets encrypt is awesome