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.
To start Docker-based Studio for Nebula Graph v1.x or v2.x, run these commands:
-
Clone the
nebula-web-docker
repo.git clone https://github.com/vesoft-inc/nebula-web-docker.git
-
Change the directory:
- For Nebula Graph v2.x, run
cd nebula-web-docker/v2
. - For Nebula Graph v1.x, run
cd nebula-web-docker
.
- For Nebula Graph v2.x, run
-
Pull the docker image of Studio.
docker-compose pull
-
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.
To connect to Nebula Graph v2.x:
- 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.
- Connect to Nebula Graph v2.x. For more information, see Nebula Graph Studio User Guide.
To connect to Nebula Graph v1.x:
- Make sure that Nebula Graph 1.x is deployed. For more information, see Nebula Graph Manual.
- Connect to Nebula Graph v1.x. For more information, see Nebula Graph Studio User Guide.
Watch this video to learn Nebula Graph Studio in two minutes.
For more information about Studio, see:
Do a check of these documents for the latest updates to Studio:
If you have any questions about Studio, please feel free to leave your feedback on Nebula Graph Forum.
- Twitter: @NebulaGraph
- Facebook page
- LinkedIn page
- Slack channel
- email: info@vesoft.com