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-cli
is 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 rgtest
and the admin user for that database is rguser
having password rgpasswd
, define a server endpoint for Foxx CLI:
$ foxx server set local-rgtest http://localhost:8529 -D rgtest -u rguser -P
Enter rgpasswd
at 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.example
to .env
and set the following values:
ARANGO_SERVER=local-rgtestMOUNT_POINT=/recall
The mounted service will be available at http://localhost:8529/_db/rgtest/recall
after 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.