-
Notifications
You must be signed in to change notification settings - Fork 14
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 run this explorer-api on my local? #21
Comments
When I run this command,
And also, I run this command, What is wrong? |
Here is my
|
This project is only tested on linux based systems, it seems there is a mismatch in EOF handling between windows / posix systems. You can run this on windows, but you should use WSL 2: https://learn.microsoft.com/en-us/windows/wsl/install |
Hi,
What is wrong? |
One more question. Then, I can see many sections in |
Running using "docker-compose up --build" should work, we've tested this on WSL 2, native Ubuntu and MacOS. Which Ubuntu version did you use? And did you do a fresh checkout when running docker-compose? |
I am using the Ubuntu 22.04 on AWS. |
Just tested on WSL 2 (ubuntu 20.04): git clone https://github.com/polkascan/explorer-api.git modified the docker-compose.yml: `version: "3" services: image: mysqlhostname: mysqlenvironment:MYSQL_ROOT_PASSWORD: rootMYSQL_DATABASE: explorer_apiports:- "3307:3306"redis: polling: api: # Note: enable when running with Signoz telemetrynetworks:- default- clickhouse-setup_default
##Note: enable when running with Signoz telemetry clickhouse-setup_default: # external signoz created networkexternal: true`Then run it: docker-compose up --build But can't test further since the IP is probably a private one: polling_1 | ERROR:main:(2003, "Can't connect to MySQL server on '81.181.255.414'") |
What is wrong yet? |
From the looks of it, nothing is wrong? Maybe the debug info is a bit confusing (executed SQL queries) but the service is running ( Be aware this only started the API and not the harvester, so no data will be processed. I assume you have the harvester running elsewhere? If not, the docker-compose containing all necessary services can be found here: https://github.com/polkascan/explorer/blob/main/docker-compose.yml Again, my recommendation would be in your case to just run mentioned docker-compose file with |
Im closing this here since it is not explorer-api related, for more info see here: |
Hi,
I am going to run this api on my local, win_10.
How should I do this?
Please let me know in detail step by step.
Best.
The text was updated successfully, but these errors were encountered: