trueblocks-explorer icon indicating copy to clipboard operation
trueblocks-explorer copied to clipboard

Blank screen when first running explorer -- because of missing setting in .env file

Open steelep opened this issue 2 years ago • 2 comments

Hi,

It is not clear from the documentation that the .env file needs to be updated, if you are accessing the trueblocks-explorer frontend from a browser on another machine. If you do not, it causes component connection failures. I suggest a revision to the README.MD to point this out.

Screenshot 2022-07-05 at 23 22 50

Thanks

steelep avatar Jul 07 '22 09:07 steelep

Thanks. Yes.

Note to self: This user seems to have opened the app without first having created the .env file. The docs should be more clear and instruct the user to copy the .env.example file to .env.

(I'm just noticing that the example file is hidden, which may be why the user didn't see it.)

Also, the .env.example file should have comments inside of it, so the user will know what to do with it.

Also, the README should tell the user to make the setting.

tjayrush avatar Jul 07 '22 09:07 tjayrush

Perhaps the application itself could recognize that it has not .env and/or that the .env does not contain a valid URL to the chifra server and instruct the user to correct the missing value for the Server url.

tjayrush avatar Jul 07 '22 09:07 tjayrush

The explorer repo has been closed, but we're still working on apps. More later on our blog.

tjayrush avatar Jul 02 '24 13:07 tjayrush