Skip to content

lauborges/gopistrano

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

======= gopistrano

Automatic Deployment Tool in Golang

Requirements

  • GoLang >= 1.3.3

Installation

Run this if you want to install gopistrano binary

go install github.com/alanchavez88/gopistrano

That will compile and install gopistrano in your $GOPATH

To deploy a project, you need to create a Gopfile. A Gopfile is just a configuration file in plain-text that will contain the credentials to SSH into your server, and the path of the directory where you want to deploy your project to.

This is a sample Gopfile

username = yourusername
password = yourpassword
hostname = example.com
port = 22
repository = https://github.com/alanchavez88/theHarvester.git
keep_releases = 5
path = /home7/alanchav/gopistrano
use_sudo = false
webserver_user = nobody

The file above will clone the git repository above into the path specified in the Gopfile.

Currently gopistrano only supports git, other version controls will be added in the future.

It also only supports username and password authentication, the next update will provide authenticate via PEM files and SSH Keys

To deploy you have to run

gopistrano deploy:setup

and then:

gopistrano deploy

Support

Need help with Gopistrano? Shoot me an email at alan@alanchavez.com

About

Automatic Deployment Tool in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%