Skip to content

Commit

Permalink
Resolve #33 (#37)
Browse files Browse the repository at this point in the history
* Resolve #33

* Add missing new line
  • Loading branch information
mewim authored Oct 24, 2023
1 parent 75af78a commit 51b29c7
Show file tree
Hide file tree
Showing 13 changed files with 1,487 additions and 2,544 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: npm run generate-grammar-prod
- name: Prebuild - build app
run: npm run build
- name: Prebuild - fetch datasets
run: npm run fetch-datasets
- name: Prebuild - cleanup
run: rm -rf node_modules
- name: Set up QEMU
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,6 @@ src/utils/CypherParser/*.tokens

# VSCode settings
.vscode/*

# Datasets
datasets
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ WORKDIR /home/node/app
# Install dependencies
RUN npm install

# Reduce size of kuzu node module
RUN rm -rf node_modules/kuzu/prebuilt node_modules/kuzu/kuzu-source

# Generate grammar
RUN if [ "$SKIP_GRAMMAR" != "true" ] ; then npm run generate-grammar-prod ; else echo "Skipping grammar generation" ; fi

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Access an existing Kùzu database by mounting its path to the `/database` direct
```bash
docker run -p 8000:8000 \
-v /absolute/path/to/database:/database \
--rm kuzudb/:latest
--rm kuzudb/explorer:latest
```

The `--rm` flag tells docker that the container should automatically be removed after we close docker.
Expand Down
37 changes: 37 additions & 0 deletions datasets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"repository": "https://github.com/kuzudb/kuzu",
"commitHash": "5d7ad0045c026e711edbd446e4c3d90ed2823c14",
"datasetsRoot": "dataset",
"datasets": [
{
"name": "Kùzu Demo",
"path": "demo-db/csv",
"isProduction": true,
"description": ""
},
{
"name": "TinySNB",
"path": "tinysnb",
"isProduction": false,
"description": ""
},
{
"name": "LDBC SNB Scale Factor 0.1",
"path": "ldbc-sf01",
"isProduction": true,
"description": ""
},
{
"name": "SNAP Amazon",
"path": "snap/amazon0601/csv",
"isProduction": false,
"description": ""
},
{
"name": "SNAP Twitter",
"path": "snap/twitter/csv",
"isProduction": true,
"description": ""
}
]
}
Loading

0 comments on commit 51b29c7

Please sign in to comment.