godeploy

command module
v0.0.0-...-cc1f4ae Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2016 License: MIT Imports: 11 Imported by: 0

README

Godeploy

Go Report Card MIT licensed

A CLI tool for deploying files directly from your computer to a server using SSH and SFTP.

Installation

  1. Download latest release
  2. Put it in a folder and make sure its executeable
  3. Add the folder to system PATH
  4. You're set, you can now run it using godeploy in terminal

Usage

  1. Create a .json file in your project folder.
  2. Edit settings in .json file.
  3. Run godeploy inside project folder.

godeploy.json example:

{
  "files": {
    "include": "dist/",
    "dist": "/var/www/html",
    "backup": "/var/backup"
  },
  "ssh": {
    "host": "localhost",
    "port": 22,
    "username": "root",
    "password": "1234"
  },
  "pre-deploy": "pre-deploy.sh",
  "post-deploy": ""
}

Commands:

godeploy <command> Description
help Shows help description.
ssh Deploys using SSH and SFTP.

CLI Flags

--config PATH_JSON_FILE

Questions and issues

Use the Github issue tracker for any questions, issues or feature suggestions.

License

MIT licensed.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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