Skip to content

Digital-MOB-Filecoin/filscraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development setup

Postgres

docker run --name postgres -e POSTGRES_USER=root -e POSTGRES_PASSWORD=password -d -p 5432:5432 --restart unless-stopped postgres:latest

psql

docker run -it --rm --link postgres:postgres postgres psql -h postgres -U root

to create a new database, enter psql and run:

create role filchain with encrypted password 'password';
alter role filchain with login;
create database filchain;
grant all on database filchain to filchain;
\c filchain
alter schema public owner to filchain;

update env variables

cp .env.sample .env
LOTUS_API_INFURA='infura_lotus_api'
LOTUS_API='backup_lotus_api_full_node'
LOTUS_TOKEN='backup_lotus_api_token'

install modules

npm i

start scraper

npm run start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published