Steps to setup the project
- using dependencyManagement to setup Spring Cloud version
- adding alias to host file to enable eureka replicas alias
- start eureka like: java -jar xx.jar --spring.profiles.active=reg1 and then reg2
- start config server, access config like: http://localhost:8001/gateway-dev.yml
- install jetty, create base dir like: java -jar "D:\Program Files\jetty-distribution-9.4.26.v20200117\start.jar" --add-to-start=http,deploy
- modify start.ini like: jetty.http.port=9090, run jetty: java -jar "D:\Program Files\jetty-distribution-9.4.26.v20200117\start.jar"
- access ui: http://localhost:9090/ui/
- install lombok plugin
- install scoop on windows
- install rabbitmq via scoop: scoop bucket add extras scoop install rabbitmq; config erlang_home
- start rabbitmq: rabbitmq-server -detached; enable web: rabbitmq-plugins enable rabbitmq_management; stop it: rabbitmqctl stop
- login web using guest/guest from http://localhost:15672/
- start gateway, note the CORS issue
- start social-multiplication, gamification
- enjoy game