Files
dolt/cmd/noms
..
2017-08-29 13:12:10 -07:00
2017-09-03 07:26:38 -07:00
2017-08-29 13:12:10 -07:00
2017-05-22 15:50:12 -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