GithubHelp home page GithubHelp logo

ddk.install's Introduction

Instruction

Recommended parameters of the node for correct operation

  • CPU 4 core
  • 16 GB RAM
  • HDD 120 GB or more

Software requirements

REQUIREMENTS

  • Ubuntu 18.04
  • Docker
  • Docker-compose
  • Sync date time on node with global time

Setup and run

To setup and run DDK CORE + API

1.1 git clone https://github.com/zahedaziz/DDK.INSTALL
1.2 cd ./DDK.INSTALL

Edit environment file before run containers for this do next steps:

  • Set yours IP (instead XXX.XXX.XXX.XXX) in black list PEERS_BLACKLIST=XXX.XXX.XXX.XXX,0.0.0.0
  • Set yours (instead XXX.XXX.XXX.XXX) in IP PUBLIC_HOST=XXX.XXX.XXX.XXX
  • Set yours passphrase in parameter FORGE_SECRET=PUT_SECRET_HERE
1.3 ./docker_start_containers.sh

To stop DDK CORE + API

2.1 cd ./DDK.INSTALL
2.2 ./docker_stop_containers.sh

To upgrade version DDK CORE + API

3.1 cd ./DDK.INSTALL
3.2 ./upgrade.sh

To watch docker container (to stop watch CTRL+C) and start container again

4.1 cd ./DDK.INSTALL
4.2 docker-compose up --build
1.3 ./docker_start_containers.sh

To see logs and status forging, current height, blocks receiving and etc

5.1 cd ./DDK.INSTALL
5.2 docker-compose logs -f --tail 100


It should looks like this

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.