Networking-Forums.com

Professional Discussions => Programming Goodies and Software-Defined Networking => Topic started by: dlots on May 23, 2017, 08:31:53 AM

Title: Web fronted for python scripts
Post by: dlots on May 23, 2017, 08:31:53 AM
Hey

I made a very basic (still being developed) web front end for python scripts.  It's over on github at https://github.com/GoreNetwork/Web-Front-End-Windows

Figuring out how stuff bounces around is kinda annoying and I think my readme is hard to follow, if you are interested and have issues or questions just holler. 

Still trying to figure out how to make it https.
Title: Re: Web fronted for python scripts
Post by: that1guy15 on May 23, 2017, 09:40:40 AM
Nice,

Flask is fun, just takes a different mindset than us Network guys are used to. If you want an example or HTML/CSS templates you can check out my Flask app on my github.
https://github.com/that1guy15/flask-demo

Front end your flask app using Nginx and uWSGI and use supervisord to launch it as a service. Nginx will also do all the heavy lifting for HTTPS.

Hit me up if you ever want to walk through it or see more details.