From 73f8a274cac5ebcc327c3184945cc762625f0861 Mon Sep 17 00:00:00 2001 From: nanjiangshu Date: Mon, 9 Dec 2024 15:29:04 +0100 Subject: [PATCH] update config and instructions for using custom schemas path --- DEVELOPMENT.md | 9 ++------- sda/config_local.yaml | 3 ++- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 7b2cb5a8e..bad3f628c 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -56,12 +56,7 @@ docker cp verify:/shared /tmp/ ``` This will copy all data from the container's `/shared` folder to `/tmp/shared` on your local machine. -4. Copy schemas to `/schemas` on the localhost using: -```sh -sudo rsync -arvz schemas/ /schemas/ -``` - -5. Start the `ingest` service using: +4. Start the `ingest` service using: ```sh export BROKER_PASSWORD=ingest export BROKER_USER=ingest @@ -72,7 +67,7 @@ export DB_USER=ingest CONFIGFILE=config_local.yaml go run cmd/ingest/ingest.go ``` -6. Check if the `ingest` service works as expected by following these steps +5. Check if the `ingest` service works as expected by following these steps ```sh # create a test file seq 10 > /tmp/t1.txt diff --git a/sda/config_local.yaml b/sda/config_local.yaml index 67008f95a..332048b08 100644 --- a/sda/config_local.yaml +++ b/sda/config_local.yaml @@ -104,4 +104,5 @@ sync: user: "user" schema: - type: "isolated" \ No newline at end of file + type: "isolated" + path: "schemas/isolated" \ No newline at end of file