nynif / minimal_flask

minimal_flask project just to quickly test deployment on remote server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal flask server

This project is a minimal flask server, the purpose is just to test deployment on remote server.

  1. Connect to your remote server
ssh root@ip_server
cd /var/www/
git clone https://github.com/nynif/minimal_flask.git
cp flask.conf /etc/apache2/sites-available/flask.conf
a2ensite flask.conf
systemctl restart apache2

a2dissite flask.conf sudo lsof -i -P -n | grep LISTEN

Check apache sytax apachectl -t

https://www.rosehosting.com/blog/how-to-install-flask-on-ubuntu-22-04-with-apache-and-wsgi/

About

minimal_flask project just to quickly test deployment on remote server


Languages

Language:Python 100.0%