1.0.4 • Published 7 years ago

deployver v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Deployver

Fast deployment tool for anything that works via ssh.

Setup

Installation

npm install deployver

Configure

ssh - username@hostname string for ssh connection (works only with public key authorization without password)

debug - verbose mode

keep - how much release keep to rollback

paths - object with two paths local for from and remote for to

Thats all, it's damn simple. Don't forget to call Deployver.init() method to initialize remote directory strucutre.

Usage

deployConfig =
  ssh: 'hexen@falsetrue.ru'
  debug: true
  keep: 5
  paths:
    local: './package.json'
    remote: '/tmp'

Deployver = require('deployver')(deployConfig)

Deployver.init() - initialize directories structure on remote server
Deployver.deploy() - push something to 
Deployver.rollback() - rollback it

See gulp.example.coffee (included in repo)

Change log

1.0.4

  • Add README line about Deployver.init() method for initializing deployment directory structure on remote server

1.0.3

  • Minor bugfix on init method to create releases current stub directory

Credits

Author: Dmitry Rodichev (@noroot)

License: MIT

Inspired by capistrano, and shipit.

1.0.4

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago