Skip to content

Tethys Platform extension adding a job type to submit jobs through the UIT Plus web service

Notifications You must be signed in to change notification settings

erdc/django-uit_job_type

Repository files navigation

UIT Plus Extension for Tethys

Installation

  1. Conda install pyuit.
conda install -c erdc/label/dev -c conda-forge pyuit
  1. Install the extension.

    cd django-uit_plus_job
    python pip install -e .
  2. Register a new client on https://www.uitplus.hpc.mil. Set Return URL to http(s)://<yourtethysportal>/oauth2/complete/UITPlus/.

Note the generated client id and client secret to add to the Tethys configuration file.

  1. Add the following to the portal_config.yml file:
INSTALLED_APPS:
  - uit_plus_job

AUTHENTICATION_BACKENDS:
  - uit_plus_job.oauth2.UitPlusOAuth2

OAUTH_CONFIGS:
  SOCIAL_AUTH_UITPLUS_KEY: <client-id>
  SOCIAL_AUTH_UITPLUS_SECRET: <client-secret>
  1. Run migrations:

    tethys db migrate

Tests

. test.sh <path_to_tethys_manage.py>

CONDA BUILD

conda build -c erdc -c conda-forge conda.recipe

About

Tethys Platform extension adding a job type to submit jobs through the UIT Plus web service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages