-
William E Warriner authored604601fb
README.md 1.41 KiB
BASE FORM
The base form covering apps on UAB RC OOD 1.6
How to Use
-
Make this repository part of your app's repository. If the app is new, cloning this is a good starting point.
-
Modify
form.yml.erb
starting at the finalform:
block. Set any "true" conditionals to "false" to turn off those features.-
desktop
set false if the app does not need a desktop (Jupyter needs "false"). -
conda_extensions
set false if the app does not need conda extensions (Jupyter needs "true"). -
custom_environment
set false if the app should not use a custom_environment entry field. -
extra_jupyter_args
set false if the app should not allow custom arguments to the command (Jupyter needs "true"). -
version_1
set false if version selection is not required for software (RStudio needs "true"). -
version_2
set false if version selection is not required for software (RStudio needs "true").
-
-
Configure
version_1
andversion_2
options as needed. Look for the comments withVERSION SELECTOR 1
, for example.
Dev
Create the Conda environment using conda env install --file environment.yml
to configure ruby.
- Test templates locally using
./test_erb.sh
. - Test your app on OOD by cloning the repo into the Sandbox app environment.
- Test whether Slurm receives the correct variables from
script.sh.erb
. Running a job using the form should create a log file in the repo root directory.