From 9bc3c06cd3be071f0d37b4c3559470796f747bd3 Mon Sep 17 00:00:00 2001 From: Thomas Gerber Date: Thu, 21 Mar 2024 15:09:07 -0700 Subject: [PATCH] Adds password in mock-data command as hasura is protected by default (#344) --- mock-data/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mock-data/README.md b/mock-data/README.md index 3e0a5fc5..3641dc2f 100644 --- a/mock-data/README.md +++ b/mock-data/README.md @@ -13,16 +13,16 @@ Running the script: $ npm i # Install all dependencies, only needed once. ``` -### :bullettrain_side: Uploading mock data +### :bullettrain_side: Uploading mock data (assuming you use the default Hasura admin password) ```sh -$ ./bin/mock-data upload +$ ./bin/mock-data upload --admin-secret admin ``` Access the Welcome dashboard in [Metabase](http://localhost:3000/dashboard/1) on port 3000 to start exploring the mock data. -### :x: Deleting mock data +### :x: Deleting mock data (assuming you use the default Hasura admin password) ```sh -$ ./bin/mock-data delete +$ ./bin/mock-data delete --admin-secret admin ``` > :clipboard: Note: You can also optionally specify the Hasura service url using the `-u` flag. **If this flag is not specified, the script will upload to the the default service url http://localhost:8080**