是否可以使 ArangoDB 可移植?

Is it possible to make ArangoDB portable?

我是一名从事多平台桌面应用程序开发的开发人员,我希望使用 arangodb。然而,我的应用程序是而且必须保持便携....能够从 USB 记忆棒、硬盘驱动器或网络驱动器 运行(还不确定这个)

我正在从 orient-db 切换过来,我选择它是因为它是多模型和可移植的(除了需要 java)....但是可以说 orientdb 似乎有重大问题。

我如何着手学习如何将 arangodb 与我的应用程序打包在一起,并且 运行 只有在我的应用程序启动时才按需提供服务?

随着 ArangoDB 3.1 的发布,所有的打包都被移到了 cmake/cpack。

除了一般的安装脚本 all logic for this is in cmake packges/ and under the respective directories under Installation

你可以 运行 ArangoDB 完全没有配置文件 all settings can be specified via commandline argument too.

根据安装目标,启动服务的方式可能不同;命名 Windows services, Linux system V init scripts, Linux systemd unit files.

与其他安装过程类似,you should launch it once to provision the access credetials

ArangoDBs windows 安装程序不是必需的,as the cookbook for the xcopy install demonstrates

最后,您将不得不像启动 OrientDB 一样启动 ArangoDB;只是必须根据您的系统需要选择 Arangodb 二进制文件,就像您为 OrientDB 选择 java 解释器一样。

您应该能够 运行 来自任何源驱动器的 ArangoDB 二进制文件及其 js 库;启动速度可能因驱动器速度而异。但是,我建议 运行 将其与指向本地旋转磁盘或本地附加存储的数据库文件夹 (--database.directory) 连接,因为 运行 不支持网络驱动器上的连接。