@desci-labs/desci-codex-composedb
v2.0.2
Published
ComposeDB models and scripts for Codex
Downloads
362
Readme
DeSci Codex - models and local test environment
This package contains ComposeDB models for the codex entities, together with scripts and config for setting up a local test environment and compiling composites.
Getting started
Follow the instructions in the repo root and run make test
, and everything should be set up correctly.
Editing models
Change models in the composites
directory. When running npm dev
, they will be automatically compiled and deployed.
Adding models
Add the model file in the composites
directory, and update scripts/composites.ts
with the new model in the compile and deployment chain.
The digits prefixing the file names indicate its level in the deployment DAG, as they may have dependencies on other models. So, all models starting with
1
has no dependencies. All starting with2
have at least one dependency from the previous layer, and so on.