- Maven version >= 3.5.4
- Java 8
- MongoDB version >= 4.0.5
1. run the init-script, it will clone the related projects
mvn clean spring-boot:run -Dspring.profiles.active=dev
After the application started up, please check Eureka server page is on
mvn clean spring-boot:run -Dspring.profiles.active=dev
After the application started up, please go to Eureka server page and check application is registered in Eureka
Go into the mongodb-docker-template project, build the image with Dockerfile-dev and run it
Example for service-jobad-reader:
cd ./mongodb-docker-template/service-jobad-reader
docker build -f Dockerfile-dev .
docker run -p 37017:27017 -d ${please-replace-with-image-id}
Start up a local MongoDB instance on port 37017
mongod --port 37017
Connect it with MongoDB Shell and paste the script
mongo --port 37017
Go into the service-jobad-reader, service-eureka-scheduler, service-zuul-server projects and repeat the steps of starting service-config-server
service-rss-reader local version is in the development, thanks!
docker-compose -f docker-compose-dev-server.yml up --build
export BRIDGE_NETWORK=$(docker inspect service-overview_bridge-network | grep '"Gateway"' | head -n 1 | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}')
docker-compose -f docker-compose-dev-service.yml up --build
cd ../service-search-ui
npm install
ng serve
service-search-ui - An Angular search UI with docker image. Demo site
service-eureka-server - A eureka server with docker image.
service-zuul-server - A proxy zuul server for frontend.
service-config-server - A spring cloud config server with git registry and docker image.
service-rss-reader - A eureka client to fetch rss.
service-eureka-scheduler - A fixed rate scheduler to call other eureka client with restTemplate, ribbon and hystrix.
service-jobad-reader - A reader to parse rss and search.
- [] Release page
- [] docker compose
- [] add dev env
- add development guide
- add development init script