简体   繁体   English

如何在ArangoDB上的foxx应用程序中使用本地git存储库

[英]How to use a local git repository for a foxx application on ArangoDB

Foxx supports using a github repository for applications. Foxx支持为应用程序使用github存储库。 How can we use a local git repo or any other vendor's repo? 我们如何使用本地git仓库或任何其他供应商的仓库?

A) For any other remote vendor you have the following options: A)对于任何其他远程供应商,您可以选择以下选项:

1) If it offers an url to download the file as a zip like github does eg: https://github.com/arangodb/arangodb/archive/devel.zip you can simply use this URL to install the foxx app. 1)如果它像github一样提供了一个以zip格式下载文件的URL,例如: https://github.com/arangodb/arangodb/archive/devel.zip : https://github.com/arangodb/arangodb/archive/devel.zip您可以简单地使用此URL来安装foxx应用。

foxx-manager install <your url>.zip /test

2) If not you can checkout the repository locally and continue with B) 2)如果没有,您可以在本地签出存储库,然后继续B)

B) If you have the repository locally say at the location /Users/me/myApp you can install it from the local file system using: B)如果您在本地将存储库说在/Users/me/myApp ,则可以使用以下方法从本地文件系统安装它:

foxx-manager install /Users/me/myApp /test

We plan to support other git vendors directly as well in the future but it is not yet implemented. 我们计划将来也直接支持其他git供应商,但尚未实施。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM