/sample_flask

Sample Flask app deployed in Vagrant

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Simple Flask application running on Vagrant and AWS Elastic Beanstalk

Greetings!

This web application was written using Flask. Flask is a very simple micro web framework written in Python designed to help developers to create small applications and APIs.

This PoC was all written in Python 2.7, but it should work well with Python 3.x for Development usage. Unfortunately, because of MySQL - Python, we cannot use under Python 3 within Vagrant (but in your local enviroment will be ok, as we use sqlite3 as database). This app is a partial fork of Flask Voting App, but unfortunately the app didn't provide any test suite, so I have to create one and also adapt to work within Vagrant.

This app also works pretty well with AWS Elastic Beanstalk (EB) and it will use sqlite3 as database. Maybe one day I will be supporting AWS RDS!

Below is a link with full instructions describing all the steps to run this project: