如何在 MacOS 上安装和使用 mirthSync?

How to install and use mirthSync on MacOS?

设置

我正在关注 installation directions in the mirthSync readme, which is to clone the repo. The next indication of usage that I can see is in the Examples section,它通过 CLI 是为了“从 Mirth Connect 实例中提取 Mirth Connect 代码”:

java -jar mirthsync.jar -s https://localhost:8443/api -u admin -p admin pull -t /home/user/

我假设在克隆 repo 之后,应该 cd 进入该目录,然后 运行 java -jar... 命令以及所有适当的标志值(服务器、用户名、密码等)。

错误

在 运行 执行 CLI 命令后,我收到此错误:

Error: Unable to access jarfile mirthsync.jar

问题

这个 mirthsync.jar 文件应该来自哪里?我需要做些什么才能生成 mirthsync.jar 文件吗?

通过 lein uberjar 生成它(创建 target/uberjar/*-standalone.jar)或从发行版下载它。