Files
dolt/cmd/noms
Aaron Boodman 0b596da7be Add noms root command for getting and setting root of entire db (#2992)
* Add `noms root` command for getting and setting root of entire db

* fix missing import

* rebase, review feedback

* review feedback

* moar review
2017-01-30 17:34:06 -08:00
..
2017-01-10 15:45:05 -08:00
2016-10-27 15:27:36 -07:00
2016-12-26 11:38:46 -08:00

Example

cd $GOPATH/src/github.com/attic-labs/noms/samples/go/counter
go build
./counter /tmp/nomsdb::counter
./counter /tmp/nomsdb::counter
./counter /tmp/nomsdb::counter

noms serve /tmp/nomsdb

Then, in a separate shell:

# This starts where the previous count left off because we're serving the same database
./counter http://localhost:8000::counter

# Display the datasets at this server
noms ds http://localhost:8000

# Print the history of the counter dataset
noms log http://localhost:8000::counter