RecallGraph installs like any other Foxx Microservice inside a database, on an ArangoDB instance.
- Download the latest release.
- Follow the instructions in the Foxx Deployment Manual. The web interface is the easiest, while the
foxx-cliis more suitable for power users.
-
Install ArangoDB and create a database and a user with admin privileges for that database.
-
Install the Foxx CLI:
$ npm install --global foxx-cli -
Assuming the database created in step 1 above is called
rgtestand the admin user for that database isrguserhaving passwordrgpasswd, define a server endpoint for Foxx CLI:$ foxx server set local-rgtest http://localhost:8529 -D rgtest -u rguser -PEnter
rgpasswdat the prompt and press Enter to finish the server definition step. -
Clone this repository:
$ git clone https://github.com/RecallGraph/RecallGraph.git -
Install module dependencies:
$ npm install -
Copy
.env.exampleto.envand set the following values:ARANGO_SERVER=local-rgtest MOUNT_POINT=/recallThe mounted service will be available at
http://localhost:8529/_db/rgtest/recallafter the installation is complete. -
Install the service:
$ npm run setup
Now that the service has been installed, you can browse its API and settings by logging into your ArangoDB instance's web API using the credentials used above and selecting the rgtest database. Once logged in, click on the Services tab in the left sidebar and you should find the RecallGraph service listed there.