Skip to content

Testing the Preset App Functionality

Gerald Byrket edited this page Jun 29, 2022 · 2 revisions

Overview

This wiki is to show you how to setup and test Preset Apps in Open OnDemand.

Setup your dashboard

  • cd into your dev dashboard
  • git checkout backportPresetAppInto2.0
  • rm -Rf public
  • git checkout .
  • bin/setup
  • restart your PUN

Setup the Preset App

In this example, we're just bc_osc_jupyter

  • git clone bc_osc_jupyter, if you have not already done so.
  • cd bc_osc_jupyter
  • mkdir local
  • cd local
  • touch choice.yml
  • vi preset.yml
  • Paste the following text into the file named preset.yml and reset your PUN.

caption: "small Rstudio environment for 6 hours" cluster: "pitzer" attributes: version: "app_jupyter" bc_num_hours: 6 node_type: "any" num_cores: 1 include_tutorials: false bc_email_on_started: false account: 'PZS0714' mode: 1 cuda_version: 'cuda/9.0.176'

  • Navigate to your dashboard in your browser.
  • Start up the dev instance of your dashboard.
  • Click on "My Interactive Sessions"
  • In the lower left hand box on the page, you should see a card called, "Interactive Apps [Sandbox]"
  • Under that you should see ** Jupyter: Choice ** Jupyter: Preset
  • You will want to test both.
  • When you choose Jupyter: Preset, you should be take to the "Sessions" Page where you can see that the app is being processed.
  • When you choose Jupyter: Choice, you should be taken to the Jupyter form. You need to fill out the form and then click the "Launch" button.
  • Once the app has launched, you need to connect to Jupyter and click around to ensure all is good.

That's it!!!

Clone this wiki locally