- JDK 8
- Maven
- Docker CE and Docker Compose (Note that Windows only supports 10 and above)
- Kubernetes
- git clone https://github.com/yylonly/MedShare-MicroService
- cd MedShare-MicroService
- mvn clean package
- 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)
- kubectl apply -f mysql.yaml
- kubectl apply -f glassfish.yaml
- 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
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