Coder Social home page Coder Social logo

shellbot's Introduction

Shellbot

Join the chat at https://gitter.im/Around25/shellbot

Shellbot allows the user to connect to any server through ssh and setup a certain infrastructure configuration by running various commands on the remote server or by copying data from the host through SCP.

Installation

Download the appropriate release for your architecture and start using it.

Usage

Copy Command

Using the copy command you can copy a file or directory from the local host to a server and vice versa.

In order to user the command you must first have a configuration file that defines the list of managed servers.

To copy from local host to a server named dev-1 use this command: $> shellbot --config ./shellbot/devops.yaml copy ./hosts.txt dev:/etc/hosts To download from a server use this command: $> shellbot --config ./shellbot/devops.yaml copy dev:/etc/hosts ./hosts.txt

Shell Command Connect to a particular server using ssh use this command: $> shellbot --config ./shellbot/devops.yaml shell dev-1

Setup Command

To execute all tasks for the "dev" environment use this command: $> shellbot --config ./shellbot/devops.yaml setup dev

Check Command -- NOT YET IMPLEMENTED

The check command allows you to see if all servers for an environment are in their correct state.

Contributing

In order to install all dependencies for the project run make deps. To compile and install the shellbot tool run make. In order to execute the tests run make test or make test-coverage in case you want to see the code coverage as well.

shellbot's People

Contributors

cosmin-harangus avatar gitter-badger avatar

Watchers

 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.