tryethernal / ethernal

Ethernal is a block explorer for EVM-based chains. In a few seconds, spin up a fully-featured explorer for your L1/L2 rollup/testnet. Compatible with Optimism, ZK, Anvil, Hardhat, Geth...
https://www.tryethernal.com
Other
203 stars 46 forks source link

I clone the git i can face the issues Ethernal Run successfully frontened and backend so the result can show so data fatching loader Fetching the data that Data does not show #268

Open MuneebAhamd opened 11 months ago

MuneebAhamd commented 11 months ago

Screenshot from 2023-08-01 19-42-02 i can use this documentation of ethernal So frontenend and backenend run Successfyully But data does not show and loader loading the data I think i face the issues of env file You can send the Sample env files you can used the ethernal code

MuneebAhamd commented 11 months ago

Screenshot from 2023-08-01 19-57-01

So you can see the iisues and how can solve this issues

antoinedc commented 11 months ago

Hi,

One of the current constraints to self host is that you need to use a domain name and access the app through app.yourdomain.com. For a local deployment, you can add an entry to your /etc/hosts file like this: 127.0.0.01 app.ethernal.local, and then access it through app.ethernal.local:8080

Don't forget to set APP_URL/VUE_APP_MAIN_DOMAIN in the env file accordingly

MuneebAhamd commented 11 months ago

Screenshot from 2023-08-02 14-45-15 Someone Explain the issues and how can solve the isssues

MuneebAhamd commented 11 months ago

Hi,

One of the current constraints to self host is that you need to use a domain name and access the app through app.yourdomain.com. For a local deployment, you can add an entry to your /etc/hosts file like this: 127.0.0.01 app.ethernal.local, and then access it through app.ethernal.local:8080

Don't forget to set APP_URL/VUE_APP_MAIN_DOMAIN in the env file accordingly

you sugguestion apply the code but problem does not solve

antoinedc commented 11 months ago

Can you take a look at the console? it might be an adblocker preventing requests to localhost

MuneebAhamd commented 11 months ago

i already allowed the localhost from addblocker, still getting 404 image

antoinedc commented 11 months ago

It should request http://app.ethernal.local:8080/api, I'm not sure where this undefined is coming from. What did you set APP_URL to?

MuneebAhamd commented 11 months ago

APP_URL=app.ethernal.local

can you provide the documentation to setup the repo?

antoinedc commented 11 months ago

Can you put APP_URL=app.ethernal.local:8080?

The doc is here: https://doc.tryethernal.com/getting-started/self-hosted

MuneebAhamd commented 11 months ago

Can you put APP_URL=app.ethernal.local:8080?

The doc is here: https://doc.tryethernal.com/getting-started/self-hosted

you can send me sample env.development run/.env/ file

MuneebAhamd commented 11 months ago

Can be possible to send the sample env file like env.development and run/env

antoinedc commented 11 months ago

The sample env file is on the doc page


From: MuneebAhmad @.> Sent: Thursday, August 3, 2023 3:45:07 PM To: tryethernal/ethernal @.> Cc: Antoine @.>; Comment @.> Subject: Re: [tryethernal/ethernal] I clone the git i can face the issues Ethernal Run successfully frontened and backend so the result can show so data fatching loader Fetching the data that Data does not show (Issue #268)

Can be possible to send the sample env file like env.development and run/env

— Reply to this email directly, view it on GitHubhttps://github.com/tryethernal/ethernal/issues/268#issuecomment-1664012538, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKEFI57PBKSWFWOPJPOB4LXTOTOHANCNFSM6AAAAAA274J4LM. You are receiving this because you commented.Message ID: @.***>

MuneebAhamd commented 11 months ago

I use the env docs and follow the selfhost docs but show these issues Screenshot from 2023-08-03 18-56-37 Screenshot from 2023-08-03 18-52-56

MuneebAhamd commented 11 months ago

you share the env file i think some data missing of this file like this VUE_APP_API_ROOT and some other data missing So you can share the exact env file so you can continue the work

MuneebAhamd commented 11 months ago

The sample env file is on the doc page ____ From: MuneebAhmad @.> Sent: Thursday, August 3, 2023 3:45:07 PM To: tryethernal/ethernal @.> Cc: Antoine @.>; Comment @.> Subject: Re: [tryethernal/ethernal] I clone the git i can face the issues Ethernal Run successfully frontened and backend so the result can show so data fatching loader Fetching the data that Data does not show (Issue #268) Can be possible to send the sample env file like env.development and run/env — Reply to this email directly, view it on GitHub<#268 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKEFI57PBKSWFWOPJPOB4LXTOTOHANCNFSM6AAAAAA274J4LM. You are receiving this because you commented.Message ID: @.***>

I show the some issues sir you can guide me to continue the work

antoinedc commented 11 months ago

You don't need VUE_APP_API_ROOT, you should run docker-compose.prod.yml with only .env.prod, you don't need a .env.development file