github.com/ndau/noms@v1.0.5/cmd/noms/README.md (about)

     1  ## Example
     2  
     3  ```shell
     4  cd $GOPATH/src/github.com/attic-labs/noms/samples/go/counter
     5  go build
     6  ./counter /tmp/nomsdb::counter
     7  ./counter /tmp/nomsdb::counter
     8  ./counter /tmp/nomsdb::counter
     9  
    10  noms serve /tmp/nomsdb
    11  ```
    12  
    13  Then, in a separate shell:
    14  
    15  ```shell
    16  # This starts where the previous count left off because we're serving the same database
    17  ./counter http://localhost:8000::counter
    18  
    19  # Display the datasets at this server
    20  noms ds http://localhost:8000
    21  
    22  # Print the history of the counter dataset
    23  noms log http://localhost:8000::counter
    24  ```