commit | 7b48a600e1d2edc87382c7101daf32fa4f8e5199 | [log] [tgz] |
---|---|---|
author | Marcus Christie <machrist@iu.edu> | Tue Feb 23 13:25:09 2021 -0500 |
committer | Marcus Christie <machrist@iu.edu> | Tue Feb 23 13:25:09 2021 -0500 |
tree | 79fed53b6306d7c01d6c5af2742d310b5d33e8dc | |
parent | 2c52fec8545ad52f1b0963c209d0b31a2f8fa27f [diff] |
Add data_product_uri parameter option to user_storage functions
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.
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
django-admin makemigrations --settings=tests.test_settings airavata_django_portal_sdk
To generate the documentation, create a virtual environment and then:
pip install -r requirements-dev.txt mkdocs serve
source venv/bin/activate pip install -r requirements-dev.txt
./runtests.py
flake8 .
autopep8 -i -aaa -r . isort .