- Docker: https://www.docker.com/
- Docker compose: https://docs.docker.com/compose/install/
Navigate the the demo directory of the checkout.
docker-compose up -d keycloak
You need to edit your hosts file to include the line:
in Ubuntu its generally in: /etc/hosts
windows: C:\Windows\System32\drivers\etc
127.0.0.1 keycloak
Once keycloak starts, access the keycloak admin console: http://keycloak:8081
login with admin/password
You need to create a user to login to the application.
Manage -> User -> Add User Fill in username, email, first and last name.
Then in credentials set a new password, switch temporary to OFF.
Now we need to add the user roles. Role Mappings -> Client Roles Select crypto-portfolio Then move:
- portfolio-admin
- user
docker-compose up -d kong-db
docker-compose run --rm kong kong migrations bootstrap
docker-compose up -d kong
docker-compose up -d konga
http://localhost:1337
Register and login to Konga which is a GUI management for kong.
Then under: Application -> Snapshots
Import the konga_snapshot.json
file this will setup the services and routes.
docker-compose up -d pricing-service
docker-compose up -d portfolio-service
docker-compose up -d support-service
docker-compose up -d ui-mvc-service
http://localhost:8080/portfolio
docker-compose up -d ui-service-bff
docker-compose up -d crypto-portfolio-react