Merge pull request #148 from dinukadesilva/reference-portal
Reference portal
tree: cf77b313838765d524102b5981ef9cf0f2115e56
- public/
- src/
- .dockerignore
- .env
- .gitignore
- 1
- babel.config.js
- docker-compose.yml
- Dockerfile
- entrypoint.sh
- nginx.conf
- package-lock.json
- package.json
- README.md
- yarn-error.log
- yarn.lock
README.md
Custos Portal
- Install latest stable nodejs (v14.17) https://nodejs.org/en/download/
- Install yarn
npm install --global yarn
git clone https://github.com/apache/airavata-custos-portal.git
cd ./airavata-custos-portal/custos-demo-gateway
git checkout reference-portal
- 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"
- Create necessary entity types, permission types, roles, groups and update them on .env
yarn install
yarn run serve
- http://localhost:8080