Files
dolt/clients/splore
Erik Arvidsson bda71d9d48 Update Splore to use latest noms sdk (#1248)
The main change is how Structs are represented and to get to the
underlying shape of a struct a StructMirror is now used.
2016-04-14 10:18:22 -07:00
..
2016-01-20 12:48:25 -08:00
2015-12-17 23:54:57 -08:00
2016-01-25 18:16:35 -08:00
2016-03-04 23:51:24 -08: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/clients/counter"
go build
./counter -ldb="/tmp/sploretest" -ds="counter"
./counter -ldb="/tmp/sploretest" -ds="counter"

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

# Launch Splore with noms-view
cd ../../cmd/noms-view
go build
./noms-view serve ../../clients/splore store="ldb:/tmp/sploretest" &

Then, navigate to the URL printed by noms-view, e.g. http://127.0.0.1:12345?store=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.