diff options
author | Shotaro Aoki <ikoamu@gmail.com> | 2024-09-16 00:10:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 00:10:50 +0900 |
commit | ce8a263fa24644083ba7be508b6f6916b5f2b9a5 (patch) | |
tree | eebd6291b1416916cac3c13e76a99646358f4f82 /local.sh | |
parent | 3a618f8defb382a76e19c9255bb60262e12421f1 (diff) | |
parent | 2c6f5c08beaa73b9d166370a605f9b505f29b480 (diff) |
Merge pull request #26 from thargosu/fuse_index
Fuse index
Diffstat (limited to 'local.sh')
-rwxr-xr-x | local.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -15,9 +15,13 @@ npm install npm run generate:graphdata --script_params=$ROAM_DB_PATH ./create_notes.sh $ROAM_PATH npm run generate:search +npm install fuse.js +node build-index.js # Copy files to the org-roam-ui directory cp -f searchdata.json org-roam-ui/components/Search/ +cp -f fuse-index.json org-roam-ui/components/Search/ + if [ -d $ROAM_IMG_PATH ]; then cp -r $ROAM_IMG_PATH org-roam-ui/public fi @@ -31,4 +35,4 @@ if [ -d "../../out" ]; then fi mv out ../../ popd -popd
\ No newline at end of file +popd |