Giter Club home page Giter Club logo

zdeploy's Introduction

zdeploy πŸ‘

δΈ­ζ–‡

Deployment file tool

  • Transfer deployment files
  • Provide shell/bat execution function

Secure

  • Use md5 encryption to transmit password
  • The server can be configured with multiple ip whitelists, supporting wildcards *
  • The client can only execute the shell/bat configured by the server

Config

Use ini format as configuration file

  • Server
# server.ini
[server]
# listening host
host=0.0.0.0
# listening port
port=39093
# password
pass=Zdeploy1!2@3#

# File transfer bytes, the recommended network difference is 128
buf=2048

# ip whitelist
white=192.168.1.*,192.168.*.10

[cmd]
# Shell/bat has built-in unzip command to unzip the transferred file
a=echo 123
b=echo 321
  • Client
# client.ini
[server]
# server host ip
host=192.168.1.10
# server port
port=39093
# password
pass=Zdeploy1!2@3#

[deploy]
# The source path of the file to transfer
src=/code/dist.zip
# Filename to transfer to the server
dist=dist.zip

[cmd]
# Run server configuration commands
path=unzip,a,b

Usage

# Server
zdeploy -s server.ini
# Client
zdeploy -c client.ini

zdeploy's People

Contributors

cedar12 avatar

Stargazers

 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.