Files
dolt/samples/js/splore
Erik Arvidsson 0da3e4411f Splore: Use Struct as label for non named structs (#2291)
If a struct does not have a name we used to have no label for the node.
It looks kind of funky so instead it will use the text "Struct" as the
label.
2016-08-05 15:01:28 -07:00
..
2016-06-05 02:37:28 -07:00
2016-06-05 02:37:28 -07:00
2016-06-05 02:37:28 -07:00

Splore

Splore is a general-purpose debug UI for exploring noms data.

splore and counter

Example

# Create some data
cd "$GOPATH/src/github.com/attic-labs/noms/samples/go/counter"
go build
./counter ldb:/tmp/sploretest:counter
./counter ldb:/tmp/sploretest:counter

# Build Splore
cd ../../js/splore
./build.py

# Launch Splore with noms-ui
cd ../../../cmd/noms-ui
go build
./noms-ui ../../samples/js/splore db="ldb:/tmp/sploretest"

Then, navigate to the URL printed by noms-ui, e.g. http://127.0.0.1:12345?db=xyz.

Develop

Same as the example, but:

  • ./build.py is only necessary the first time.
  • Also run npm run start, to continually build a non-minified (and thus debuggable) build.