Jupyter-example-proxy is using this package as an example of web application that can be started from Workbench.
Just a random web applications that says hello world (you should replace this with your own):
src/workbench_app
Create virtual environment if not existing yet:
python3 -m pip install virtualenv
python3 -m venv env
Activate virtual environment:
source env/bin/activate
Install dependencies:
python3 -m pip install -r requirements.txt
Start your web application and keep it running:
flask --app src/workbench_app/wsgi run
Open in browser: http://127.0.0.1:5000/
gunicorn -w 4 workbench_app.wsgi:app --bind=127.0.0.1:5000
Direct setup for development / testing purposes:
python3 -m pip install git+https://github.com/huntdatacenter/workbench-app-example.git@main#egg=workbench-app-example