- name the connection dataset file according to the following file name convention:
<datasetId>.json
- where datasetId is the id of the new dataset you want to add
-
place the file in the src/server/populate-db/raw-data/connections/ folder
-
modify src/server/populate-db/raw-data/datasets.json to include the new dataset. Ensure the new dataset is consistent with all the other data in datasets.json.
-
run
npm run populate-database
- name the annotation dataset file accroding to the following file name convention:
<datasetType>.annotations.json
- where datasetType is the type of dataset the annotations apply to (one of 'head', 'tail', or 'complete')
-
place the file in src/server/populate-db/raw-data/annotations/ folder
-
run
npm run populate-database