Skip to content

Deploy Studio

This article introduces how to deploy Docker-based Studio v2.x.

Prerequisites

Before you deploy Docker-based Studio v2.x, you must do a check of these:

  • The Nebula Graph v2.x services are deployed and started. For more information, see Nebula Graph Database Manual.

    NOTE: Different methods are available for you to deploy Nebula Graph. If this is your first time to use Nebula Graph, we recommend that you use Docker Compose to deploy Nebula Graph. For more information, see Deploy Nebula Graph with Docker Compose.

  • On the machine where Studio v2.x will run, Docker Compose is installed and started. For more information, see Docker Compose Documentation.

Procedure

To deploy and start Docker-based Studio v2.x, run these commands one by one:

  1. Download the configuration files for the deployment.

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

    cd nebula-web-docker/v2
    
  3. Pull the Docker image of Studio v2.x.

    docker-compose pull
    
  4. Build and start Docker-based Studio v2.x. In this command, -d is to run the containers in the background.

    docker-compose up -d
    

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

    Creating docker_importer_1 ... done
    Creating docker_client_1   ... done
    Creating docker_web_1      ... done
    Creating docker_nginx_1    ... done
    
  5. When Docker-based Studio v2.x is started, use http://ip address:7001 to get access to Studio v2.x.

    NOTE: Run ifconfig or ipconfig to get the IP address of the machine where Docker-based Studio is running. On the machine running Docker-based Studio, you can use http://localhost:7001 to get access to Studio.

    If you can see the Config Server page on the browser, Docker-based Studio is started successfully.

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

Next to do

On the Config Server page, connect Docker-based Studio to Nebula Graph. For more information, see Connect to Nebula Graph.


Last update: December 30, 2020
Back to top