Apache Airavata Django Portal SDK

Clone this repo:
  1. fdbfcd0 AIRAVATA-3362 Fixes to relative path of dir in experiment dir by Marcus Christie · 23 hours ago master
  2. e9e98e8 urls module for constructing REST API urls by Marcus Christie · 8 days ago
  3. 5a61fab AIRAVATA-3362 experiment_dir_exists and fixes to computed paths by Marcus Christie · 10 days ago
  4. af54b48 AIRAVATA-3310 SDK support for updating data product content by Marcus Christie · 6 weeks ago
  5. d72bf49 AIRAVATA-3346 handle 404 with dir_exists by Marcus Christie · 8 weeks ago

Airavata Django Portal SDK

The Airavata Django Portal SDK provides libraries that assist in developing custom Django app extensions to the Airavata Django Portal.

See the documentation at https://airavata-django-portal-sdk.readthedocs.io/ for more details.

Getting Started

To integrate the SDK with an Airavata Django Portal custom app, add

"airavata-django-portal-sdk",

to the install_requires list in your setup.py file. Then with your virtual environment activated, either install the SDK directly:

pip install -e "git+https://github.com/apache/airavata-django-portal-sdk.git@master#egg=airavata-django-portal-sdk"

Or add the dependency to your requirements.txt file:

-e "git+https://github.com/apache/airavata-django-portal-sdk.git@master#egg=airavata-django-portal-sdk"

then run pip install -r requirements.txt

Migrations

django-admin makemigrations --settings=tests.test_settings airavata_django_portal_sdk

Documentation

To generate the documentation, create a virtual environment and then:

pip install -r requirements-dev.txt
mkdocs serve