Skip to content

polkascan/harvester

Repository files navigation

Polkascan Harvester

Running using Docker

Replace ENV settings in docker-compose.yml then run

docker-compose up --build

Running locally

Install package requirements:

pip install -r requirements.txt

Add current path to Python path

 export PYTHONPATH=$PYTHONPATH:$(pwd)

Create ./app/local_settings.py

DB_CONNECTION = "mysql+pymysql://root:root@localhost:3306/polkascan?charset=utf8mb4"
SUBSTRATE_RPC_URL = "ws://127.0.0.1:9944/"

INSTALLED_ETL_DATABASES = []

Apply database migrations

alembic upgrade head

Run harvester

python app/harvester.py --force-start

Releases

No releases published

Packages

No packages published

Languages