nimbix / jupyter-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jupyter Demo

Example Jupyter notebook App for JARVICE using authentication tokens

This application demonstrates how to use token substitution in a JARVICE Appdef file. JARVICE currently supports:

  • %RANDOM16% := 16 bit token
  • %RANDOM32% := 32 bit token
  • %RANDOM64% := 64 bit token
  • %RANDOM128% := 128 bit token

The token is available at /etc/JARVICE/random128.txt inside a running job. The token can be truncated to match the substitution size. For example:

random16=$(cat /etc/JARVICE/random128.txt | cut -c 1-16)

Getting Started

These instructions will walk through how to create Jupyter notebook app for JARVICE via PushToCompute CICD flow.

Prerequisites

What things you need to install the software and how to install them:

Accounts:

Create JARVICE App using Build+Pull

  1. Open the PushToCompute tab on JARVICE

jarviceMenu

  1. Create a new JARVICE App

newApp

  1. Log into Docker registry

dockerRegistry

  1. Fill in App details

createApp

Note: Fill in Docker Repository using your account (e.g. username/jupyter-demo:xenial)

  1. Start Build+Pull

buildPull

Test App

  1. Click on App card

  2. Select Launch Notebook

demoApp

  1. Submit job w/ SUBMIT button

Authors

  • Kenneth Hill - Initial work

License

This project is uses an OpenSource license - see the LICENSE.md file for details

About

License:Other


Languages

Language:Dockerfile 58.3%Language:Shell 41.7%