-
Notifications
You must be signed in to change notification settings - Fork 0
Local Setup Guide
Kan edited this page Feb 22, 2019
·
3 revisions
- 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
- Starting others services 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!