Sample template Flask App. Just sends messages back and forth between client and server triggered some basic UI buttons.
flask
andflask-socketio
Python packagessocket-io
Javascript library
Either install the package from PyPi
:
pip install template_flask_app
or clone the materialXWeb
repository and install from the root folder:
pip install .
or
pip install -e .
if planning to perform edits on the repository.
Run the main package using:
template_flask_app
or directly with Python:
python template_flask_app.py
By default the application is running a local server. To access the client page open the following in a Web browser:
http://127.0.0.1:5001