forked from p8iqkyhxf/MedShare-MicroService
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
Pre-requested
- JDK 8
- Maven
- Docker CE and Docker Compose (Note that Windows only supports 10 and above)
- Kubernetes
Git Clone Repo
- git clone https://github.com/yylonly/MedShare-MicroService
- cd MedShare-MicroService
Build You Package (Skip this step if deploying to Kubernetes)
- mvn clean package
Build Environments (Skip this step if deploying to Kubernetes)
- docker-compose build (build images)
- docker-compose up (maybe failure because of staring auto-deploy before database start up, try one more time, let both glassfish and MySQL container up)
Kubernetes Deployment
- kubectl apply -f mysql.yaml
- kubectl apply -f glassfish.yaml
Test MedShare
- Glassfish Management http://127.0.0.1:31000 (username:admin password:glassfish)
- MedShare will be avaible on http://127.0.0.1:30000/MicroMedShare-web/
- username: admin
- password: 123
Please cite our paper as follows:
Yang Y, Zu Q, Liu P, Ouyang D, Li X. MicroShare: Privacy-Preserved Medical Resource Sharing through MicroService Architecture. Int J Biol Sci 2018; 14(8):907-919. doi:10.7150/ijbs.24617. Available from http://www.ijbs.com/v14p0907.htm