zaz

zaz

Simple Node.js deployment, Capistrano-style

Showing:

Popularity

Downloads/wk

2

GitHub Stars

1

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

9

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Zaz: Simple Node.js deployment, Capistrano-style

Build Status NPM version

Why?

In order to set up simple project deployment with minimum configuration/programming.

More opinionated than flexible

Currently, the tool conforms to the following assumptions:

  • the code is being fetched from a Git repositories, accessible from the remote servers;
  • ssh key (~/.ssh/id_rsa.pub) is being used for authentication;
  • the package.json has the following npm scripts described: start, status, stop, deploy (to use with Naught, for example);
  • some more.

Installation

sudo npm install -g zaz

NPM

Configuration

Place somewhere (in your project root, for example) a file named zaz.json with the following structure:

{
  "stages": {
    "staging": {
      "user": "<deployer username>",
      "git": "<git repo containing the code>",
      "path": "<where to put the folder structure on your remote server>",
      "hosts": [
        "<your remote staging host 1>",
        ...
        "<your remote staging host n>"
      ]
    },
    "production": {
      ...
    }
  }
}

Usage

zaz <stage> looks for zaz.json and performs the deployment according

Dependencies

Contributions

  • are welcome;
  • should be tested;
  • should follow the same coding style.

Keep it simple, minimum bells and whistles, please.

License

The MIT License

Copyright (c) 2014 Ruslan Bredikhin

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial