commit | d72bf49af91bd9d60ceb0d21deb743b6e06b155b | [log] [tgz] |
---|---|---|
author | Marcus Christie <machrist@iu.edu> | Wed Nov 18 10:39:36 2020 -0500 |
committer | Marcus Christie <machrist@iu.edu> | Wed Nov 18 10:39:36 2020 -0500 |
tree | 58bb47b881a5657ff41f3a65164ad7c986d089c2 | |
parent | 50bc3aec5e9fd96f80f67c7854eabbd9b91ddb19 [diff] |
AIRAVATA-3346 handle 404 with dir_exists
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