Officially out now: The TypeDB 3.0 Roadmap >>

Lesson 2.1: Sample deployment

Deploy sample database

Throughout this course, we will be using a sample database for an online bookstore. Follow these instructions to deploy a TypeDB Community Edition server preloaded with the sample database.

  1. Install and run Docker.

  2. Pull the Docker image for the sample database:

    docker image pull vaticle/typedb-sample-data:1.0.0
  3. Start the Docker image:

    docker run -p 1730:1729 vaticle/typedb-sample-data:1.0.0

The server can be connected to using port 1730.

The default port used by TypeDB servers is 1729. We use 1730 for this course so as not to conflict with any other local deployments.

Install TypeDB Studio

To connect to a TypeDB server and run queries, we need to use a TypeDB client. This course uses TypeDB Studio, an IDE for managing and developing with TypeDB. To install it, follow the instructions on the Studio installation page. A brief tutorial covering the Studio features necessary to complete this course is included in Lesson 2.2.

This course uses TypeDB Studio, but you may alternatively complete it using TypeDB Console or any native language driver instead.