santileortiz / minimal-flask

Minimal Flask web application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal Flask

Code of a very small Flask application. Packaged using wheel and run in gunicorn.

Local

These set of commands build the wheel, install and run it from the current machine's enviroment:

$ ./pymk.py package
$ ./pymk.py install
$ ./pymk.py run
$ ./pymk.py clean

Virtual Environment

These scripts perform all changes inside a Python virtual environment. This is useful to test that the wheel is indeed self contained and won't require installation of dependencies in the target environment.

$ ./package_venv.sh
$ ./run_venv.sh
$ ./clean_venv.sh

About

Minimal Flask web application


Languages

Language:Python 98.5%Language:Shell 1.5%