PoC for watching & syning a folder recursively into a riak bucket.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
node_modules
.gitignore
LICENSE
README.md
package.json
teriaki.js

README.md

teriaki

Watches & syncs a folder recursively into a riak bucket.

Install

teriaki should be installed globally (-g) and as root:

sudo npm install teriaki -g

This way it’ll end up in your PATH with the right owner.

Syncing a folder

teriaki is invoked with a local path and a bucket name:

teriaki <sync_path> <bucket_name>'

For example:

mkdir syncdir
teriaki syncdir/ bucket
echo '{"foo": "bar"}' > syncdir/poopin.json
echo 'foobar' > syncdir/poopin.txt
cp foo.jpg syncdir/