polkascan / explorer

Polkascan Substrate Explorer
GNU General Public License v3.0
44 stars 46 forks source link

About start the explorer project in local environment #2

Closed VegeBun-csj closed 1 year ago

VegeBun-csj commented 2 years ago

how can i setup the explorer in my local environment but not in docker, so that i can debug it easily

arjanz commented 2 years ago

It is described in the readme of the submodules like: https://github.com/polkascan/harvester/tree/main#running-locally and https://github.com/polkascan/explorer-ui/tree/main#build-manually

Or you can have a look into the Dockerfile of the submodules to give a specific set of instructions how to run them locally

didiermis commented 2 years ago

@arjanz do I need to do both tutorials? I was trying the first one, https://github.com/polkascan/harvester/tree/main#running-locally, but when I run "alembic upgrade head" throws an error: image

arjanz commented 2 years ago

@didiermis Is your MySQL running locally as well or still in the Docker container? You might have to check if the port is still valid, because it is mapped as 33061 on the host machine (See: https://github.com/polkascan/explorer/blob/main/docker-compose.yml#L98)

wouterter commented 1 year ago

This conversation seems to have ended. I'm closing this issue.