Git Product home page Git Product logo

godeploy's Introduction

Introduction:

GoDeploy is simple deploy tool by Golang.

It can help you to quickly send commands or file to your servers group.

one client with mutli servers.

Version:

version:0.0.15

Futures

-config Set cofing file path. Default value:./config.json

-debug Show debug trace message. Default value:false

-mode Service mode:server,client default:client

-group Connect specific group servers

-server Connect specific server

-version Show version

-load Load script and run,with exit

-help Show help information

Install:

  go get github.com/matishsiao/GoDeploy
  go test
  go build

Configuration format:

    {
	"Configs":{
		"Server":[			
			{"Ip":"10.7.9.90","Group":"dev"},
			{"Ip":"10.7.9.83","Group":"dev"},
			{"Ip":"10.7.9.163","Group":"prd"}
		],
		"ServerPort":"9000",
		"User":"abc",
		"Password":"abc123"
	}
   }

Run:

Client mode(default mode)

   ./GoDeploy

Server mode

   ./GoDeploy -mode server

Get more informatiion

   ./GoDeploy -help 

Client Example:

   cmd ls
   cmd whoami
   file test.txt
   script add.dsh
   help
   status
   reconnect

Commands:

1.cmd:		Send command to server.

   			example:cmd ls
   			
2.env:		Show all server os information.

3.exit:		Exit appclication.

4.file: 	Send file to server,It will save to server site file/ directory.

   			example:file test.txt

5.get:		get file from all connect servers,the file will save to file/.

6.help:		Show help information.

7.script: 	Use script to run commands.

  	    	example:script test.dsh
  	    	
8.status:	Show all server status.

##License and Copyright

This software is Copyright 2012-2014 Matis Hsiao.

godeploy's People

Contributors

matishsiao avatar

Watchers

zj8487 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.