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.
张润坤
49569a9907
|
2 years ago | |
---|---|---|
.github/workflows | 2 years ago | |
DB | 2 years ago | |
MicroMedShare-auth | 2 years ago | |
MicroMedShare-ear | 2 years ago | |
MicroMedShare-ehr | 2 years ago | |
MicroMedShare-med | 2 years ago | |
MicroMedShare-web | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
buildimage.sh | 2 years ago | |
deploy.sh | 2 years ago | |
docker-compose.yml | 2 years ago | |
docker-stack.yml | 2 years ago | |
glassfish.yaml | 2 years ago | |
mysql.yaml | 2 years ago | |
pom.xml | 2 years ago |
README.md
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