You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+11
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,11 @@ In production, we recommend running the script once a minute to keep it up to da
57
57
watch -n 60 "yarn start >> ./log" 2>&1
58
58
```
59
59
60
+
If you want to allow adjustmends to the [CRDT](/crdt.md) seeds via the Seeds API, run:
61
+
```
62
+
yarn serve-seeds-api
63
+
```
64
+
60
65
## Operations
61
66
Sometimes things fail (eg: an offchain API is down). This is fine and expected. Things should continue as expected on the next run of the script. Most NFTs/Tracks/Platforms that cause failure/errors are moved into an error queue and retried a few times after some delay so that they don't block progress for the rest of the indexer.
62
67
@@ -84,6 +89,12 @@ There are a few design goals for the system:
84
89
- Allow extensions with additional metadata or data transformations being added without requiring a DB rebuild nor re-processing from the start
85
90
- Allow for decentralization and even some consensus without any co-ordination
86
91
92
+
## Tests
93
+
The Seeds API is covered by end-to-end tests. More test coverage to follow as the codebase matures. To run tests locally:
94
+
```
95
+
yarn test:watch
96
+
```
97
+
87
98
## Contributing
88
99
The repo is still early and not hyper-polished or perfectly documented. Contributor guidelines are not ready yet, clear development docs and style/standard expectations are not extremely well documented yet. Interfaces are not well documented yet. Keep this in mind, so if you'd like to contribute:
89
100
- First, reach out on Discord and connect with the team (https://discord.gg/8YS3peb62f) so we can help guide you in contributing
constthrowDBHint=(err: any)=>{thrownewError(`${err.message}\nHINT: tests run against dev DB. Ensure that DB running, migrated, and working as expected`)};
0 commit comments