Hi all. I open Intellij from file "datahub.ipr". N...
# contribute-code
n
Hi all. I open Intellij from file "datahub.ipr". Now, how I run datahub from Intellij?
i
Hello Shashinka, Datahub is a multi-component project, it is not possible to run a single process and run datahub. I would suggest you take a look at this page on documentation regarding developing datahub: https://datahubproject.io/docs/developers
plus1 1
n
Thanks for reply. I followed step in https://datahubproject.io/docs/developers. What should I do in next step to modify backend code & deploy again ?
i
Deploying is also part of the documentation: https://datahubproject.io/docs/developers/#deploying-local-versions
Modify the backend as you see fit, compile it:
./gradlew :metadata-service:war:build
Deploy datahub:
Copy code
datahub docker quickstart --build-locally
and then deploy your modified version:
(cd docker && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -p datahub -f docker-compose-without-neo4j.yml -f docker-compose-without-neo4j.override.yml -f docker-compose.dev.yml up -d --no-deps --force-recreate datahub-gms)
n
Hi @incalculable-ocean-74010, I followed steps you say. And result is:
i
What is the output of
docker ps -a
?
n
Here @incalculable-ocean-74010
i
Ok so gms is unhealthy. Can you post the full output of
docker logs datahub-gms
?
n
I show head & tail of "docker logs datahub-gms"
i
It looks like there is a missing environment variable (telemetry enabled-server)