Bosca is a personal file management system implemented in micro-service architecture.
-
Run docker of Zipkin locally, and map the ports to let local services user it:
docker run -d -p 9411:9411 openzipkin/zipkin
-
Run docker of RabbitMQ locally, map the ports to local services and configure admin user:
# run RabbitMQ docker run -d -p 15672:15672 -p 5672:5672 rabbitmq:3-management # config admin user docker exec -i -t <docker_container_id> bin/bash rabbitmqctl add_user bosca h4pHR*aAYhD6_z99oGkv rabbitmqctl set_permissions -p / bosca ".*" ".*" ".*" rabbitmqctl set_user_tags bosca adminstrator rabbitmqctl list_users
-
Run Config Server in IDEA, and wait the process to finish.
-
Run Service Discovery and API Gateway in IDEA.
-
Run User-WS, File-WS and Metadata-WS in IDEA.
A GitHub config repository and S3 account are needed to run the project.