The necessary software (with version):
python 2.7.3
requests 2.4.3
flask 0.11
mysql-connector-python 2.0.2
nginx 1.2.1
uwsgi 2.0.8
mysql Ver 14.14 Distrib 5.5.40
The locations of the configuration files:
/etc/nginx/nginx.conf
/etc/nginx/sites-available/flask.conf
/etc/mysql/my.cnf
/etc/uwsgi/apps-available/flask.ini