Skip to main content

A hub portal UI and proxy service for QPod.

Project description

QPod Hub Package

License TravisCI Pipeline Status PyPI version PyPI format PyPI download month GitHub Starts

Notice: If you are looking for the out-of-box QPod docker images, please goto: https://github.com/QPod/docker-images

Introduction

The qpod-hub package provides a hub portal user interface and proxy service for QPod.

As a hub service, qpod-hub detect if specific service are installed and provides a homepage GUI for users. Currently, the following services are supported:

  • Jupyter Notebook
  • JupyterLab
  • Code-server
  • Tensorboard
  • RStudio Server
  • Shiny Server

Screen shot of QPod

Development

Under Linux/macOS

docker run -it --rm \
    --name=dev_QPod \
    --hostname="docker-develop@" \
    -v `pwd`/:/root/ \
    -p 8800-8888:8800-8888 \
    qpod /bin/bash

Under Windows

docker run -it --rm ^
    --name=dev_QPod  ^
    --hostname="docker-develop@" ^
    -v %cd%/:/root/ ^
    -p 8800-8888:8800-8888 ^
    qpod /bin/bash

Enter into the container and Debug/Install

docker exec -it dev_QPod /bin/bash

PYLIB_DIR="/opt/conda/lib/python3.9/site-packages/"
ln -s `pwd`/qpod $PYLIB_DIR/
ln -s `pwd`/qpod/base/etc/qpod_hub-jpserverextension.json /opt/conda/etc/jupyter/jupyter_server_config.d/
ln -s `pwd`/qpod/base/etc/qpod_hub-nbserverextension.json /opt/conda/etc/jupyter/jupyter_notebook_config.d/
ln -s `pwd`/qpod/base/etc/qpod_hub-nbextension.json       /opt/conda/etc/jupyter/nbconfig/tree.d/


yarn --cwd `pwd`/qpod/base/static/
python -m qpod

python setup.py sdist bdist_wheel
pip install -U dist/*.whl
jupyter notebook

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qpod-hub-2021.10.11.tar.gz (1.3 MB view hashes)

Uploaded source

Built Distribution

qpod_hub-2021.10.11-py3-none-any.whl (1.5 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page