Merge pull request #2 from shivamriky/ui_modifications

Enhance the UI for new tenant request form
tree: 80557fd2a7b13a59430b665d277f69185a74db85
  1. custos_portal/
  2. .gitignore
  3. README.md
  4. requirements-dev.txt
  5. requirements.txt
README.md

Apache Airavata Custos Portal

Portal interface implemented in Django Framework to use and administer Custos Services.

Run instructions

  1. Create a python virtual env for custos portal
python -m venv venv
  1. Install dependencies using
pip install -r requirements.txt
  1. Install custos client SDK in the virtual env (Follow instructions in “Install Custos Client SDK”)
  2. Run django server using manage.py file in custos_portal directory.
python manage.py runserver
  1. Run webpack development server from custos_portal/custos_portal/static/common using:
npm run serve

Install Custos Client SDK

  1. Create install files for custos client SDK using README
  2. Install the zip files created in the dist folder after activating the virtual environment created for custos portal.
pip install custos-python-sdk-1.0.0.tar.gz

Architecture

This Django projects consists of 3 apps

  • Admin: Handles all the requests and screens related to admin users in the portal
  • Auth: Handles user registeration, login, passwords, login using institutional accounts
  • Workspace: Handles all the requests for a regular users like ‘create new tenant requests’

We also use vuejs for the screens in Admin and Workspace folders. The components and other javascript files can be found at custos_portal\static\common