Skip to content

lavanet/jsinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
OneEuroQuestion
Mar 5, 2025
56bc514 · Mar 5, 2025
Jun 20, 2024
Nov 4, 2023
Feb 23, 2025
Dec 9, 2024
Mar 5, 2025
Feb 26, 2025
Oct 19, 2023
Dec 9, 2024
Jan 23, 2025
Dec 14, 2023
Dec 9, 2024
Jan 24, 2025
Mar 5, 2025
Dec 9, 2024
Dec 9, 2024
Dec 9, 2024
Nov 12, 2024
Feb 4, 2025
Feb 4, 2025
Dec 9, 2024

Repository files navigation

JsInfo

Generate migrations

If you make changes to the schema, make migrations:

make create_migrations

Create db

sudo -u postgres dropdb jsinfo
sudo -u postgres createdb jsinfo

sudo -u jsinfo psql

Backup

# Dump
sudo -u jsinfo pg_dump -Fc > db.dump

# Recover
pg_restore -d postgres://localhost:5432/jsinfo jsinfo_db.dump

# Dump for GCP import
sudo -u jsinfo pg_dump --format=p --no-owner --no-acl jsinfo > dump.sql

Run

make run_indexer
make run_query

Docker

make docker_build
make docker_compose