Skip to content

Commit

Permalink
update config and instructions for using custom schemas path
Browse files Browse the repository at this point in the history
  • Loading branch information
nanjiangshu committed Dec 9, 2024
1 parent 17e9d1d commit 73f8a27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 2 additions & 7 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion sda/config_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ sync:
user: "user"

schema:
type: "isolated"
type: "isolated"
path: "schemas/isolated"

0 comments on commit 73f8a27

Please sign in to comment.