https://github.com/memgraph/benchgraph
https://github.com/memgraph/benchgraph
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/memgraph/benchgraph
- Owner: memgraph
- License: apache-2.0
- Created: 2022-11-07T11:27:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T12:26:13.000Z (almost 2 years ago)
- Last Synced: 2025-06-25T22:38:08.395Z (10 months ago)
- Language: TypeScript
- Size: 9.63 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# benchgraph
Benchgraph is now hosted on the vercel memgraph.com site as github pages was giving us weird issues
To deploy a new version:
(1) Build as normal (npm run build:deploy)
(2) Edit the resulting html
All the files are hosted from /benchgraph, so the references to the font, css file and scripts need to be changed by adding /benchgraph/ to the link. For example:
```
@charset "UTF-8";@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(/benchgraph/Roboto-Regular.83f6acca8a27a93c.ttf) format("truetype")}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}html{box-sizing:border-box;font-size:16px}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;background:#e6e6e6;font-family:Roboto,Arial,sans-serif;font-weight:400;line-height:1.5;color:#231f20;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media print{*{background:0 0!important;box-shadow:none!important;color:#000!important;text-shadow:none!important}@page{margin:.5cm}}body,html{margin:0;height:100%;background-color:#fff}
```
(3) Copy the files to the worldwideweb project
The live benchgraph files are located in https://github.com/memgraph/worldwideweb/ in the https://github.com/memgraph/worldwideweb/tree/main/public/benchgraph folder. Copy the files there and have someone with vercel team access build and deploy the new version