Giter Site home page Giter Site logo

taraxa-ops's Introduction

Taraxa Node Running Repository

Taraxa node operation master repository

Image of Taraxa Californicum

Running Taraxa-node with docker-compose

Clone the repository to your machine that has Docker installed.

Run the following command to start taraxa-node in a terminal:

cd taraxa_compose
docker-compose up

It can also be started as a background service:

cd taraxa_compose
docker-compose up -d

Running Taraxa-node at Digital Ocean

You only need a Digital Ocean account to be able to run a Taraxa-node against the testnet. Follow this instructions to get a Digital Ocean account https://www.digitalocean.com/docs/getting-started/sign-up/

One Click Install

You need a Digital Ocean API token to use One Click Install. Follow here to get it.

You may export your token as the env var DIGITALOCEAN_ACCESS_TOKEN or insert it when script ask for it.

To have your Taraxa-node Runing just run:

$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/scripts/one-click-DO.sh)"

Each time you run the script, a new droplet will be launched at Digital Ocean.

Running it manually

Now lets create our taraxa-node droplet.

Create the droplet

#TODO: Verify recommended resources

  1. From the Create menu in the top right of the control panel, click Droplets.
  2. Choose the Ubuntu 18.04.3 (LTS) x64 image.
  3. Choose a plan and size for your Droplet, which determines its RAM, disk space, and vCPUs as well as its price. Learn more about how to choose the right Droplet plan. We recommend at least 2GB of RAM.
  4. Choose a datacenter region. It can be any one available.
  5. Select additional options User Data and add this script content to the User Data field bellow.
  6. Choose an SSH key, if you’ve added one. If you choose not to use SSH keys, your Droplet’s password will be emailed to you after creation.
  7. Enter a name and click Create. We suggest taraxa-node

Connect to Droplets

To connect by using a terminal on Linux, macOS, or Windows Subsystem for Linux:

  1. Open your terminal, and enter the command ssh [email protected]. Substitute in your Droplet’s IP address after the @.
  2. Press ENTER and answer yes to the prompt that confirms the connection.
  3. If you’re not using SSH keys, enter your password when prompted.

Windows users can alternatively connect with PuTTY. When you’ve logged in, your command prompt changes and you’ll see a welcome screen.

Read Taraxa-node logs

Run this command after connected to the Droplet.

docker logs taraxa-node

If you wish to tail the logs, add -f to the command above. Ctrl-C is needed to stop the tail.

Interacting with your node and the Network.

#TODO

Running Taraxa-node at AWS

You only need an EC2 instance at AWS in order to run a Taraxa-node. To get started with AWS EC2 see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html

One Click Install

You need an AWS account with configured credentials. If you'd like the ability to ssh into your EC2 instance you will need to setup an ssh key for use with EC2, follow these instructions.

To have your Taraxa-node running just run:

$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/scripts/one-click-AWS.sh)"

or if you already have an ssh key to use with your Taraxa-node, run the command and pass in the name of your ssh key:

$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/scripts/one-click-AWS.sh)" {KEYNAME}

Each time you run the script a new ec2 instance will be created.

taraxa-ops's People

Contributors

sfrique avatar rattrap avatar justinsnapp avatar ianpatton avatar silentrvnning avatar jiangydev avatar mercurysolar avatar camharris avatar shinr avatar kinrokinro avatar

Watchers

James Cloos avatar

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.