Giter VIP home page Giter VIP logo

grafttools's Introduction

Graft tools

Folders and files

[aws_build] -- Scripts to manage GraftProject Build using AWS infrastructure.

[packer] -- Configuration to register custom AMI using packer.

[terraform] -- Set of files to provision Graft network using terraform and debpoy latest versions of Debian packages from APT repo

[aws_build]

Scripts used to build GraftNG project using CMake locally or @AWS resources

Steps to perform build localy

  • Check for Environment variables
  • Run ./build.sh which performs project compillation. One can change variables declared in the header to customize build folder, sources location etc.
  • Run deb_graftnode.sh to register graftnode-$version.deb package
  • Run deb_supernode.sh to register graft-supernode-$version.deb package
  • Run upload.sh to upload all *.deb packages to APT repository (Check env variables used)

Steps to perform build using AWS resources

  • Check for Environment variables
  • Run spot.sh status to check current spot status i.e.
$ ./spot.sh status
You have active: 1 spot request(s)

One can change AMI ID which is used when build host is initially provisioned:

$ ./spot.sh modify_json ami-06a557a564d73800b

Command should generate file named spot_fleet.json which is used for spot request placing.

  • Once you have spot_fleet.json and 0 active spot requests(returned by status subcommand) new request can be placed:
$ ./spot.sh create

Once instance is Running steps performed for local build are executed in the same order but this time it should be invoked using runremote.sh script i.e.

$ runRemote.sh build.sh
$ runRemote.sh deb_graftnode.sh
$ runRemote.sh deb_supernode.sh
$ runRemote.sh upload.sh

grafttools's People

Contributors

angrysham avatar mbg033 avatar bitkis avatar

Stargazers

Michael avatar

Watchers

 avatar

Forkers

mike-prog-lab

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.