Apache Airavata Django Portal
The Airavata Django Portal is a web interface to the Apache Airavata API implemented using the Django web framework. The intention is that the Airavata Django Portal can be used as is for a full featured web based science gateway but it can also be customized through various plugins to add more domain specific functionality as needed.
The following steps will help you quickly get started with running the Airavata Django Portal locally. This will allow you to try it out and can also be used as a development environment.
The Airavata Django Portal is developed with Python 3.6 but should also work with 3.4 and 3.5. You'll need one of these versions installed locally.
Checkout this project and create a virtual environment.
git clone https://github.com/apache/airavata-django-portal.git cd airavata-django-portal python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
Create a local settings file. Copy
django_airavata/settings_local.pyand edit the contents to match your Keycloak and Airavata server deployments.
Run Django migrations
python manage.py migrate
build_js.shscript will build them all.
Run the server
python manage.py runserver
Note: if you want to use OpenID Connect authentication from the Django Portal when running it locally, you'll need to first set the following environment to allow OAuth over insecure HTTP:
``` export OAUTHLIB_INSECURE_TRANSPORT=1 ```
Point your browser to http://localhost:8000.
Documentation currently resides in the
Please send feedback to the mailing list at email@example.com. If you encounter bugs or would like to request a new feature you can do so in the Airavata Jira project (just select the Django Portal component when you make your issue).
For general information on how to contribute, please see the Get Involved section of the Apache Airavata website.
The Apache Airavata Django Portal is licensed under the Apache 2.0 license. For more information see the LICENSE file.