deployer

command module
v0.0.0-...-4c53631 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 1 Imported by: 0

README

deployer

Deploy your project on the server

Description

This little program is designed to help you deploy a project to your server. The program is implemented as an http server that listens for requests to a specific port and path. Upon receiving the request, the program reads the configuration file and executes all the commands specified in it.

Key Features
  • Running asynchronous commands.
  • Running asynchronous groups of commands.
  • Each command or group of commands can be run from a specific user on the system.
  • Each command or group of commands can be run in a specific directory.

Installation

  1. Clone this repo
git clone git@github.com:faradey/deployer.git
  1. Setup configuration and run server
    • Go to deployer folder
    • Rename the deployer-config.sample file to deployer-config
    • Fill in the deployer-config file with the required options and attributes. Description of options and attributes
    • Start the server with the command ./deployer as root or using sudo

Usage

  • Configure an action that will make an http request for your domain and PORT, PATH specified in the deployer-config
Example URL
http://example.com:8083/deploy/123456789/abcdefg
  • When the action is triggered, the server will accept the request and execute the commands specified in the deployer-config

Donations

If you find it useful and want to invite us for a beer, just click on the donation button. Thanks!

License

(c) faradey

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL