An open API service indexing awesome lists of open source software.

https://github.com/memgraph/benchgraph


https://github.com/memgraph/benchgraph

Last synced: 8 months ago
JSON representation

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