/nebula-web-docker

Docker of kinds of web tools of Neubla Graph

Primary LanguageShell

Nebula Graph Studio

Nebula Graph Studio (Studio for short) is a web-based visualization tool for Nebula Graph. With Studio, you can create a graph schema, import data, edit nGQL statements for data queries, and explore graphs in one stop.

Screenshot of Studio user interface

Start Docker-based Studio

To start Docker-based Studio for Nebula Graph v1.x or v2.x, run these commands:

  1. Clone the nebula-web-docker repo.

    git clone https://github.com/vesoft-inc/nebula-web-docker.git
  2. Change the directory:

    • For Nebula Graph v2.x, run cd nebula-web-docker/v2.
    • For Nebula Graph v1.x, run cd nebula-web-docker.
  3. Pull the docker image of Studio.

    docker-compose pull
  4. Build and start Docker-based Studio. -d is specified to run the containers in the background.

    docker-compose up -d

    If these lines return, Docker-based Studio is deployed and started.

    Creating docker_importer_1 ... done
    Creating docker_client_1   ... done
    Creating docker_web_1      ... done
    Creating docker_nginx_1    ... done

On Chrome, enter localhost:7001 to get access to Studio. When a page as follows appears, Studio starts successfully.

The Config Server page shows that Docker-based Studio is started successfully

Connect to Nebula Graph

To connect to Nebula Graph v2.x:

  1. Make sure that Nebula Graph 2.x is deployed. For more information, see Deploy Nebula Graph with Docker Compose or Install Nebula Graph by compiling the source code.

    NOTE: If you deployed Nebula Graph 2.0.0-alpha with Docker Compose, you must clone the nebula-docker-compose repository to update the Docker configuration.

  2. Connect to Nebula Graph v2.x. For more information, see Nebula Graph Studio User Guide.

To connect to Nebula Graph v1.x:

  1. Make sure that Nebula Graph 1.x is deployed. For more information, see Nebula Graph Manual.
  2. Connect to Nebula Graph v1.x. For more information, see Nebula Graph Studio User Guide.

Documentation

Watch this video to learn Nebula Graph Studio in two minutes.

For more information about Studio, see:

Updates

Do a check of these documents for the latest updates to Studio:

Feedback

If you have any questions about Studio, please feel free to leave your feedback on Nebula Graph Forum.

Contact