Merge pull request #148 from dinukadesilva/reference-portal

Reference portal
tree: cf77b313838765d524102b5981ef9cf0f2115e56
  1. public/
  2. src/
  3. .dockerignore
  4. .env
  5. .gitignore
  6. 1
  7. babel.config.js
  8. docker-compose.yml
  9. Dockerfile
  10. entrypoint.sh
  11. nginx.conf
  12. package-lock.json
  13. package.json
  14. README.md
  15. yarn-error.log
  16. yarn.lock
README.md

Custos Portal

  1. Install latest stable nodejs (v14.17) https://nodejs.org/en/download/
  2. Install yarn npm install --global yarn
  3. git clone https://github.com/apache/airavata-custos-portal.git
  4. cd ./airavata-custos-portal/custos-demo-gateway
  5. git checkout reference-portal
  6. Change .env file with all new entries of following
VUE_APP_CLIENT_ID=""
VUE_APP_CLIENT_SEC=""

VUE_APP_REDIRECT_URI="http://localhost:8080/callback"

VUE_APP_CLIENT_ENTITY_TYPE_ID_APPOINTMENT="APPOINTMENT"
VUE_APP_CLIENT_ENTITY_TYPE_ID_PATIENT_HISTORY="PATIENT_HISTORY"
VUE_APP_CLIENT_ENTITY_TYPE_ID_PRESCRIPTION="PRESCRIPTION"

VUE_APP_CLIENT_ROLE_DOCTOR="doctor"
VUE_APP_CLIENT_ROLE_NURSE="nurse"
VUE_APP_CLIENT_ROLE_PATIENT="patient"

VUE_APP_CLIENT_GROUP_ID_DOCTOR=""
VUE_APP_CLIENT_GROUP_ID_NURSE=""

VUE_APP_CLIENT_PERMISSION_TYPE_VIEWER="VIEWER"
VUE_APP_CLIENT_PERMISSION_TYPE_EDITOR="EDITOR"
  1. Create necessary entity types, permission types, roles, groups and update them on .env
  2. yarn install
  3. yarn run serve
  4. http://localhost:8080