Bible translation project management API.
- Docker from their website (complications with homebrew)
- NodeJS (
brew install node corepack && corepack enable) - Gel (
brew install geldata/tap/gel-cli)
- Ensure you meet the NodeJS version requirement found in package.json.
- Ensure corepack is enabled
corepack enable - Run
yarnto install dependencies - Copy
.env.local.exampleto.env.localand fill in any required values - Start the databases:
docker-compose up -d db postgres
- Setup a Gel instance (the current primary database):
gel project init yarn gel:gen
The app is mid-migration from Neo4j to PostgreSQL. Both databases run simultaneously.
The DATABASE env var controls which is active for each domain:
| Value | Behavior |
|---|---|
neo4j (default) |
All domains use Neo4j |
postgres |
Domains with a PostgreSQL repository use it; rest fall back to Neo4j |
Both services must be running locally regardless of which mode is active:
docker-compose up -d db # Neo4j
docker-compose up -d postgres # PostgreSQLPostgreSQL migrations run automatically on startup when DATABASE=postgres.
To generate a new migration after a schema change:
yarn migrate:generateDevelop: yarn start:dev
Test: yarn test:e2e
See scripts in package.json for other commands to run
CORD is MIT licensed.