GithubHelp home page GithubHelp logo

origintrail_devops_test-'s Introduction

OriginTrail_DevOps_Test-

Bash Script to auto deploy 5 OriginTrail Nodes.

API Access setup

To use the API, you’ll first generate a personal access token. Personal access tokens function like ordinary OAuth access tokens. You can use them to authenticate to the API by including one in a bearer-type Authorization header with your request

Follow Tutorial to setup Personal access token(Bearer Token) URL https://docs.digitalocean.com/reference/api/create-personal-access-token/.

Setup SSH-Key and retrieve the SSH-ID

To list all of the keys in your account, send a GET request to /v2/account/keys.

The response will be a JSON object with a key set to ssh_keys. The value of this will be an array of key objects, each of which contain the standard key attributes

curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer <$Your_TOKEN>" "https://api.digitalocean.com/v2/account/keys"

Usage

Clone script and set your Bearer Token and SSH-Key ID

Set excute permissions on file (chmod +x OriginTrail_nodes.sh)

Run Bash Script (./OriginTrail_nodes.sh)

origintrail_devops_test-'s People

Contributors

swamala avatar

Watchers

djordjekovac avatar  avatar

origintrail_devops_test-'s Issues

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.