DEV Community

Cover image for Step-by-step guide on installing AgensBrowser using a Docker image.
Chidera Stella Onumajuru
Chidera Stella Onumajuru

Posted on

Step-by-step guide on installing AgensBrowser using a Docker image.

Introduction.
AgensBrowser is a user interface which allows users to manage AgensGraph on a web browser. In this tutorial, you will install AgensBrowser using a docker image.

Prerequisites.
Before you proceed to the installation guide, make sure you have done the following,

  • Installed Ubuntu.
  • Installed AgensGraph.
  • Installed Docker or use this tutorial.

Installation Guide.

  1. Download the docker image by running the command below,

    docker pull bitnine/agensbrowser

  2. Create a docker volume where data can be persisted by running the command below.

    docker volume create --name myvolume

  3. Start the Container in different modes of your choice by running the command below.

    (Temporary mode)
    $ docker run -it bitnine/agensbrowser:v2.1.1 bash
    (Save mode)
    $ docker run -it -v myvolume:/home/agens/AgensGraph/data 
    bitnine/agensbrowser:v2.1.1 bash
    
  4. Enter into the directory where AgensBrowser was installed.

    cd /home/agens/AgensBrowser

  5. Launch AgensBrowser by running the command below /agensbrowser.sh.

  6. Visit this URL http://localhost:8085/index.html on the web browser to manage your AgensGraph database.

  7. Stop the server by using the exit command.

Conclusion
AgensBrowser is a management tool for AgensGraph, it provides various features such as Rest API Integration, and it's quite useful for easy monitoring and management of AgensGraph.

References
https://hub.docker.com/r/bitnine/agensbrowser
https://hub.docker.com/r/bitnine/agensgraph

Top comments (0)