commit | eedd030e91a52d0054ade3448ae9e2f94d2e90ae | [log] [tgz] |
---|---|---|
author | Marcus Christie <machristie@apache.org> | Fri Apr 09 16:32:24 2021 -0400 |
committer | Marcus Christie <machristie@apache.org> | Fri Apr 09 16:32:24 2021 -0400 |
tree | 85986d7232d21aee21abd1c397013ef97f9d6176 | |
parent | 7b48a600e1d2edc87382c7101daf32fa4f8e5199 [diff] |
AIRAVATA-3362 implementing remote api support for exp dir 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 .