Files
dolt/samples/js/splore
Erik Arvidsson 983fa59090 Samples js shared 2 (#1973)
* Revert "Revert "Share node_modules for samples/js" (#1967)"

This reverts commit 7bb1623e99.

* Add parent directory to the PATH

* Change run-all-js-tests to run samples/js before samples/js/**

* Fix a temporary comment
2016-07-05 16:25:21 -07:00
..
2016-07-05 16:25:21 -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
2016-07-05 16:25:21 -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
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.