hyperboria/nexus/cognitron
the-superpirate d51e5ab65d - fix: Various fixes for release
- fix: Translation fixes
- fix: Various fixes
- feat: PB translations, configuration changes
- fix: Bugfixes

GitOrigin-RevId: 55f8b148c42a296162fc707c36a5146ca0073b4b
2021-01-29 11:26:51 +03:00
..
configs - fix: Various fixes for release 2021-01-29 11:26:51 +03:00
installer - fix: Various fixes for release 2021-01-29 11:26:51 +03:00
schema - fix: Various fixes for release 2021-01-29 11:26:51 +03:00
web - fix: Various fixes for release 2021-01-29 11:26:51 +03:00
__init__.py - fix: Various fixes for release 2021-01-29 11:26:51 +03:00
BUILD.bazel - fix: Various fixes for release 2021-01-29 11:26:51 +03:00
docker-compose.yml - fix: Various fixes for release 2021-01-29 11:26:51 +03:00
README.md - fix: Various fixes for release 2021-01-29 11:26:51 +03:00

Nexus Cognitron

Guide

1. Download data dumps

export COLLECTION=bafykbzacebzohi352bddfunaub5rgqv5b324nejk5v6fltjh45be5ykw5jsjg
export COLLECTION_PATH=$(realpath $COLLECTION)
ipfs get $COLLECTION

2. Launch Nexus Cognitron

cd nexus/cognitron
docker-compose up

3. (Optional) Deploy data dumps into your database

There is a function work in traversing script that you can reimplement to iterate over the whole dataset and insert it into your own database or do whatever you want in parallel mode.

By default this script is just printing documents.

bazel run -c opt installer -- iterate \
  --store-filepath scitech.store.tar \
  --schema-filepath schema/scitech.yaml