Skip to content
Christopher edited this page Jun 16, 2021 · 3 revisions

The easiest way to start with your amableDB Node is by simply pulling my latest Dockerimage. Then you only have to install docker on your machine which is much easier to set up than configure all C++ Dependencies in the right way. The Dockerimage can be pulled via this command:

[1] docker pull christopher2002/amable-db:latest

This should pull the Image from DockerHub. It can take few moments. After completing downloading and extracting all layers, just run this command and your node is running:

[2] docker run -d --name amabledb -p 3399:3399 christopher2002/amable-db:latest

Explanation:

  • --name amabledb names the started container "amabledb". You can change it to anything you want
  • -p 3399:3399 exposes the standard amabledb port 3399 to the machine. Security: It will directly listen on 0.0.0.0 (your remote IPv4 Address) and other computers can already interact with your node. You can configure that it only listens on localhost by replacing it with -p 127.0.0.1:3399:3399. It is also possible to change the port; for example to 3398 with this replacement: -p 3398:3399 (remote) or -p 127.0.0.1:3398:3399 (localhost). Attention: Keep the last 3399 always untouched else no connection can be established!
  • -d starts the container in a detached mode so it runs in the background.

Now, you have a fully running amableDB Node and can start with CRUD-Operations! Follow the sidebar or click here

  1. Home
  2. Getting Started

  1. CRUD-Operations:

3.1 Create

Clone this wiki locally