OpenDataforWeb3 / Mirall0x

Mirall0x is a application to empower humans analyst to have access to information and clearness when analysing third part projects
Apache License 2.0
5 stars 5 forks source link

App breaking down when launched on Streamlit. #22

Closed AlexPam closed 1 year ago

AlexPam commented 1 year ago

The app breaks down after running the Streamlit run command.

streamlit run main\\main\\mirall0x.py

I am unsure of where the error is coming from but would be glad to fix. Please preview @stefi-says so I will be sure the error is not from my end alone.

Screenshot 2023-07-12 at 22 22 26
stefi-says commented 1 year ago

Hey @AlexPam thanks for testing out! Yeha, its breaking because it have been modified for deploy and its making a call for the api secrets that are insiede the streamlit server, to run it locally you should change this part to the proper api keys : image

so you need a github personal authentication token and a covalent api key. both of them you can get for free. Im thinking that probably we should have some documentation mentining the diference between running it locally and deploying on streamlit . by the way , if you just want to use it, it live here: https://mirall0x.streamlit.app/ What your thoughts about it? Thanks again

AlexPam commented 1 year ago

Alright @stefi-says I was able to to run the app locally and it was successful. Would send a PR on the documentation on running it locally.

stefi-says commented 1 year ago

solved by @AlexPam on #23