Engineering tools in python with a UI in flask
A proof of concept for a web interface for python scripts written for engineering purposes. Most of the code is taken from this tutorial: http://code.tutsplus.com/tutorials/creating-a-web-app-from-scratch-using-python-flask-and-mysql--cms-22972
Following frameworks are used on top of Python:
- Flask for the UI framework
- Bootstrap to present the UI nicely
- Bootsnip to generate the input form
- jQuery to post and display form data
A running sample can be found at http://avni.pythonanywhere.com. Please be gentle and don't try to break it.
To install it on Ubuntu in a python virtual environment, make sure that you have virtualenv installed and then follow below.
Clone the repository in a folder of your preference.
git clone https://github.com/avnibu/RTRM-Flask.git
Create your virtual environment and activate
cd RTRM-Flask/
virtualenv venv
. venv/bin/activate
Install prerequisites
pip install -r requirements.txt
Run the server with the command
python bruun.py
Point your browser to http://127.0.0.1:5000/