Access the graph from multiple machines #1408
Replies: 1 comment 2 replies
-
|
Hi futureformed, This is actually exactly how Graphify is designed to be used, no separate hosting/sync setup needed.
A couple of things worth knowing if both machines might run extraction at different times: graphify-out/cache/ and graphify-out/manifest.json are meant to be gitignored - the cache is mtime-based and invalid after a fresh clone anyway, and the manifest is just local token-usage tracking. If both machines happen to commit graph changes around the same time, you can get graph.json merge conflict markers. Run graphify hook install (mentioned above) - it also sets up a git merge driver that union-merges graph.json automatically, so this shouldn't bite you in normal use. So no need to "host" anything separately... git itself is the sync mechanism, and the hook handles keeping things current on whichever machine you're on. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have my main coding machine, and I intend on installing Graphify. However, when I'm on the move, I will sometimes code or want to access information via my laptop. For someone who works like this, what's the best way forward? Is there a way of building the graph using the main machine and then hosting it somewhere so the laptop can access it also and contribute towards it?
Beta Was this translation helpful? Give feedback.
All reactions