See the INSTALL.md
files in the backend and frontend folder.
See Install.md
file in folder local for integration testing environment with two deployed applications and EDCs.
- Configure the application:
- Open the
values.yaml
file in charts/puris. - Edit the following properties to your requirements:
- Ingress(if you want to enable ingress) for frontend/backend, under frontend.ingress. and backend.ingress.
- EDC, under backend.puris.edc
- Own data, under backend.puris.own
- Current role for demonstrator, under backend.puris.demonstrator.role
- Postgresql settings, under
backend.puris.datasource
(only necessary, ifpostgres.enabled
is false - else autoconfigured). - Keycloak is disabled by default but can be configured under
frontend.puris.keycloak
.
NOTE
Further information on the individual properties can be found in the following README.md. - Open the
- Install dependencies
helm repo add bitnami https://charts.bitnami.com/bitnami
helm dependency update
Attention: When using postgres.enabled
= false and bringing your own database, ensure to set
backend.puris.jpa.hibernate.ddl-auto
= validate
to prevent DATA LOSS.
- Run the application:
helm install puris charts/puris \
--namespace puris \
--create-namespace
- Forward ports for services:
kubectl -n puris port-forward svc/frontend 8080:8080
kubectl -n puris port-forward svc/backend 8081:8081
- Done! The applications should be available at
http://localhost:<forwarded-port>
.
Precondition: please refer to your runtime environment's official documentation on how to enable ingress.
- Run the application:
helm install puris charts/puris \
--namespace puris \
--create-namespace \
--set frontend.ingress.enabled=true \
--set backend.ingress.enabled=true
- Edit /etc/hosts:
# If you are using minikube use minikube ip to get you clusterIp, for kind this is localhost (127.0.0.1)
sudo vim /etc/hosts
>> add entry for frontend "<cluster ip> <frontend-url.top-level-domain>"
>> add entry for backend "<cluster ip> <backend-url.top-level-domain>"
>> :wq! (save changes)
- Done! The applications should be available at:
- (frontend)
http://your-frontend-host-address.com
- (backend)
http://your-backend-host-address.com
- (frontend)