denvr
Development Environments Reimagined.
A CLI application for managing microservice, containerized development environments.
Usage
Install with
npm install -g denvr
Use with the now-installed binary:
$ denvr -hUsage: denvr [top-options] subcmd [subcmd-options]Top-level options: -c, --configdir DIR ~/.denvr Configuration Directory -v Verbosity level -h, --helpAvailable Subcommands: version: Report version of denvr up: Bring an environment up down: Shut an environment down status: Query the status of environments sync: Start code-sync of a single container unsync: Stop code-sync of a single container rebuild: Rebuild a single container and update local environment push: Push an environment to a remote repository pull: Pull an updated environment from a remote repository clone: Clone an environment from a remote repository
Development
denvr
is written in Clojurescript and runs in node.js.
Building
To build a javascript bundle, use:
lein build # aka: lein cljsbuild once main
Then you can execute it with:
node build/main.js [top-options] subcmd [subcmd-options]
Testing
To test once, just use:
lein test # aka: lein doo node test-node once
To test and watch for changes, use:
lein test-auto # aka: lein doo node test-node auto
License
MIT license found in LICENSE file.