deployver
v1.0.4
Published
Deployment tool inspired by capistrano
Downloads
2
Readme
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: '[email protected]'
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.