https://github.com/erdc/django-uit_job_type
Tethys Platform extension adding a job type to submit jobs through the UIT Plus web service
https://github.com/erdc/django-uit_job_type
Last synced: 6 months ago
JSON representation
Tethys Platform extension adding a job type to submit jobs through the UIT Plus web service
- Host: GitHub
- URL: https://github.com/erdc/django-uit_job_type
- Owner: erdc
- Created: 2019-01-29T20:04:08.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-06-06T20:53:21.000Z (about 1 year ago)
- Last Synced: 2025-06-06T21:39:06.659Z (about 1 year ago)
- Language: Python
- Size: 259 KB
- Stars: 1
- Watchers: 11
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UIT Plus Extension for Tethys
## Installation
1. Conda install `pyuit`.
```bash
conda install -c erdc/label/dev -c conda-forge pyuit
```
1. Install the extension.
```bash
cd django-uit_plus_job
python pip install -e .
```
1. Register a new client on https://www.uitplus.hpc.mil. Set `Return URL` to `http(s):///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:
```yaml
INSTALLED_APPS:
- uit_plus_job
AUTHENTICATION_BACKENDS:
- uit_plus_job.oauth2.UitPlusOAuth2
OAUTH_CONFIGS:
SOCIAL_AUTH_UITPLUS_KEY:
SOCIAL_AUTH_UITPLUS_SECRET:
```
1. Run migrations:
```bash
tethys db migrate
```
## Tests
```bash
. test.sh
```
**CONDA BUILD**
conda build -c erdc -c conda-forge conda.recipe