Sha256: fba1a18caf95e089a841399181212f8b679f24d2c8e903893243b409bf84be99
Contents?: true
Size: 1.62 KB
Versions: 7
Compression:
Stored size: 1.62 KB
Contents
# DanarchyDeploy dAnarchy Deploy is a template-driven Ruby gem to deploy locally or remotely to Gentoo systems (and debian/ubuntu, more being added). This can take a .JSON or .YAML input file, or a CouchDB connection as a deployment template and install necessary packages, add users and groups, write ERB templates, and decompress tar/zip archives. More documentation incoming. ## Installation Add this line to your application's Gemfile: ```ruby gem 'danarchy_deploy' ``` And then execute: $ bundle Or install it yourself as: $ gem install danarchy_deploy !! Since dAnarchy Deploy takes several actions that require root/sudo access, I install the gem with sudo as any remote deployment will on the target host: $ sudo gem install danarchy_deploy ## Usage dAnarchy Deploy usage info can be read with -h/--help: ```ruby $ danarchy_deploy -h Usage: sudo /usr/local/bin/danarchy_deploy (local|remote) --json /path/to/deployment.json [options] -j, --json=file Read configuration from JSON file. -y, --yaml=file Read configuration from YAML file. -p, --pretend Pretend run: Don't take any action. -f, --first-run First Run: Run as a first run causing services to run all init actions. -d, --deploy-dir Deployment directory. Defaults to '/danarchy/deploy'. --ssh-verbose Verbose SSH stdout/stderr output. --version Print /usr/local/bin/danarchy_deploy version. -h, --help Print this help info. DanarchyDeploy: 0.1.0 Exiting! Must be run with sudo! ``` More documentation incoming...
Version data entries
7 entries across 7 versions & 1 rubygems