tag | 730b2176b2afd5a649bdd803af1f76b40af8498e | |
---|---|---|
tagger | Marcus Christie <machristie@apache.org> | Thu Jun 24 15:06:40 2021 -0400 |
object | b79cd5c73047951a089f458f0a8eb8ce4213d990 |
v1.0
commit | b79cd5c73047951a089f458f0a8eb8ce4213d990 | [log] [tgz] |
---|---|---|
author | Marcus Christie <machristie@apache.org> | Thu Jun 24 14:30:48 2021 -0400 |
committer | Marcus Christie <machristie@apache.org> | Thu Jun 24 14:30:48 2021 -0400 |
tree | 0a3de5cf28ad92ce0f1d90ef6d2c5ecc61232700 | |
parent | bbfe5924dda008c01376772d52d2ba02768870a1 [diff] |
prep for 1.0 release
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 .