Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 858 Bytes

README.md

File metadata and controls

49 lines (34 loc) · 858 Bytes

Sample Flask Application

Sample template Flask App. Just sends messages back and forth between client and server triggered some basic UI buttons.

Dependents

  • flask and flask-socketio Python packages
  • socket-io Javascript library

Installation

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.

Execution

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