Skip to content

huntdatacenter/workbench-app-example

Repository files navigation

workbench-app-example

Jupyter proxy

Jupyter-example-proxy is using this package as an example of web application that can be started from Workbench.

Web application example

Just a random web applications that says hello world (you should replace this with your own):

src/workbench_app

Development

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/

Running with gunicorn

gunicorn -w 4 workbench_app.wsgi:app --bind=127.0.0.1:5000

Install from repo

Direct setup for development / testing purposes:

python3 -m pip install git+https://github.com/huntdatacenter/workbench-app-example.git@main#egg=workbench-app-example

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published