🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

bora

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bora

Super simple deploys

1.2.2
latest
Source
npm
Version published
Weekly downloads
7
-36.36%
Maintainers
1
Weekly downloads
 
Created
Source

bora

super simple deploys

Features:

  • Leverages rsync(1) for transfers
  • Build hooks
  • Post-deploy hook
  • Ignore files
  • Rollbacks

install

npm i -g bora

usage

  bora [-R] [-b cmd] [-i ignores] [-k #] [-n name] [-r cmd] [-s src] host [...]

  -b      command to perform build the deployed folder
  -d      path to a folder on the server where the deploys will reside,
          defaults to ~/deploys
  -i      path to a new-line separated list of files to ignore,
          defaults to <source folder>/.rsyncignore
  -k      number of previous builds to keep, defaults to 3
  -n      project name, defaults to basename of the deployed foler path
  -r      command to restart service
  -R      rollback to the previous deploy instead of deploying
  -s      path to the deploy folder, defaults to \$PWD
  -S      where to create a symlink to the lastest deploy for convenience
          defaults to <deploys folder>/<name>
  host  the ssh target defined in your ~/.ssh/config (see ssh_config(5))

example

Deploy:

bora -r '<<optional command to restart my service>>' -b '<<optional command to restart my service>>' -i .gitignore myhost

Rollback:

bora -r '<<optional command to restart my service>>' -R myhost

LICENSE

MIT

FAQs

Package last updated on 15 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts