Files
dolt/cmd/noms
Dan Willhite e4266a0d3b Add test
2016-08-01 15:30:25 -07:00
..
2016-07-29 18:08:23 -07:00
2016-07-29 18:08:23 -07:00
2016-07-29 18:08:23 -07:00
2016-08-01 15:30:25 -07:00
2016-07-29 18:08:23 -07:00
2016-07-29 18:08:23 -07:00
2016-07-29 18:08:23 -07:00
2016-07-29 18:08:23 -07:00
2016-07-29 18:08:23 -07:00

Example

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

noms serve ldb:/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