Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to visit frontend page #152

Closed
dachengcheng2022 opened this issue Oct 14, 2024 · 8 comments
Closed

how to visit frontend page #152

dachengcheng2022 opened this issue Oct 14, 2024 · 8 comments

Comments

@dachengcheng2022
Copy link

how to config 'ethExplorerLink'

@dachengcheng2022
Copy link
Author

image
when i visite http://ip:8080, not anyting response

@avenbreaks
Copy link

image when i visite http://ip:8080, not anyting response

try change with your public ip or domain,

tcp LISTEN 0 4096 0.0.0.0:9898 0.0.0.0:* users:(("docker-proxy",pid=31812,fd=4))

@pk910
Copy link
Member

pk910 commented Oct 14, 2024

how to config 'ethExplorerLink'

This is the base url to an execution explorer if present.
You can configure it like this:

ethExplorerLink: "https://sepolia.etherscan.io/"  # replace with the base url of your block explorer

or just leave it blank if you don't have a block explorer running.

when i visite http://ip:8080/, not anyting response

I'm not sure what's the reason for this. Can you share more details about your setup?
How do you run dora? ad docker image / executable?
What does no response mean? Does it load forever or does it show a http error?

@dachengcheng2022
Copy link
Author

dachengcheng2022 commented Oct 15, 2024

i build from source code
./dora-explorer -config ./explorer-config.yaml

The screenshot is my configuration file

image
image

i run it ,but i dont know how to visite frontend page
image

@pk910
Copy link
Member

pk910 commented Oct 15, 2024

ok, thanks for the details :)

Yea, the reason for that big error message is that you've enabled the debug mode.
This debug mode is designed to load the page templates from source code, instead of loading them from the binary. That's very helpful to speed up development, but doesn't work when running the compiled binary without the source code around.

So, switch this:

frontend:
  debug: false

rest of the config looks fine and should work :)

@SyedMuhamadYasir
Copy link

i build from source code ./dora-explorer -config ./explorer-config.yaml

The screenshot is my configuration file

image image

i run it ,but i dont know how to visite frontend page image

hijacking this just to ask a quick question

are you connecting Dora to your private testnet?

i would appreciate some advice on how you did that

@skylenet
Copy link
Member

skylenet commented Oct 15, 2024

hijacking this just to ask a quick question

are you connecting Dora to your private testnet?

i would appreciate some advice on how you did that

I replied to you here: #153 (comment)

@dachengcheng2022
Copy link
Author

thanks, it work well now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants