/minimal-flask

Minimal Flask web application

Primary LanguagePython

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