Skip to content

Latest commit

 

History

History
executable file
·
23 lines (16 loc) · 400 Bytes

README.md

File metadata and controls

executable file
·
23 lines (16 loc) · 400 Bytes

Flask example for PKG Deploy

RPM builds with:

  • Python3.6 / pip
  • Flask
  • Gunicorn
  • Nginx
  • Systemd

Note: This is just an example. The settings, requirements, layout etc are not done using best practices and are not production ready.

Local setup

python3.6 -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt

FLASK_APP=app.py flask run --host 0.0.0.0:5000