One more question: trying to start gms service loc...
# ingestion
f
One more question: trying to start gms service locally using command
./gradlew :gms:war:run
from readme but it stucks What I did wrong ?
g
Hey @fast-leather-13054 - this is expected. As long as your server is running the gradle command will stay open. You will know your server is up when the output prints
Copy code
.....
08:10:24.987:<INFO:oejs.AbstractConnector>:main: Started ServerConnector@532760d8{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2021-05-05 08:10:24.987:<INFO:oejs.Server>:main: Started @13975ms
this should be the last line printed above what you pasted
m
you can also run your locally built jars with docker, if that makes life easier (especially for spinning up all your deps)
f
I run all the dependancies in Docker (quickstark.sh) but only gms locally and can't open the main page (http://localhost:9002/), it's blank so still something is wrong even that provided above behaviour is expected.
g
What error message do you get from the frontend container?
f
Caused by: java.net.UnknownHostException: datahub-gms
g
Ah- I think I know the issue
I believe you need to run datahub-frontend locally if you are using a local gms
you can do this by running ./`datahub-frontend/run/run-local-frontend`
f
ok, will try, only datahub-frontend or react component too ?
g
you will need to kill your frontend docker container created by quickstart first
i believe the frontend should be able to serve the react components as well
but if there are still problems, youll want to cd into datahub-web-react and run
yarn start
then access your local react app at localhost:3000
what are you working on, out of curiosity? I assume you're doing some local development?
f
ok, will try, thank you
I am trying to add logo to my custom source type