Files
dolt/cmd/noms
Ben Kalman 8a92b75995 Add missing ==nil check to list diff (#2362)
This isn't triggering any problem in particular, I just noticed it. All
it meant was that noms log might take unnecessarily long with list diff
when there are a lot of changes.
2016-08-17 14:44:21 -07:00
..
2016-08-01 15:30:25 -07: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