Fork me on GitHub
#cursive
<
2023-01-13
>
steveb8n07:01:35

Q: I want to start using Cursive on a laptop (Intel OSX) to connect to a REPL running on a M1 Mac Mini on the same network. The connection part should be simple but I’m trying to figure out which file-system hosts the source files. Any tips for this setup?

steveb8n07:01:11

My thinking is that I can expose the project from the M1 filesystem as a network drive and open that project on the laptop. That way the REPL server and the IDE are both loading the same source files. Is this the best way to do this or is there a better way?

steveb8n07:01:57

In other words, I’m looking for “this is the way” for a remote REPL dev workflow

greg14:01:27

Tbh I haven't done anything like that but in theory the minimal setup is that the code has to be available at least to the REPL client while the REPL server can start with literally nothing and load anything you want after start from client (incl. libs via clojure.tools.deps.alpha.repl). Although hosting sources with REPL server has advantages that you can load whatever you need at the process start. Therefore the setup you describe, with same network and sharing sources to client via network drive sounds nice.

steveb8n07:01:59

Thanks. Yes I think it's at least the right direction