Spot - extensible facet browser
How to run it
As a fully stand-alone website, using crossfilter:
- download/install node.js
- install dependencies:
npm install - run it:
npm start - open http://localhost:9966 in a browser
PostgreSQL
Spot can also work with a postgresql database, but this requires a local service to run:
- download and install normally, steps 1 to 4 above
- manually enter the PostgreSQL username and password and database table name in
spot-server.js. These are the variablesconStringandDatabaseTable. - run the server:
npm run server
You can get a bit more performance using the native PostgreSQL bindings (turned off by default to make travisCI easier). Just install the pg-native package npm install pg-native.
Credits
Jisk Attema, the Netherlands eScience Center
Ampersand by folks at &yet Get the book: http://humanjavascript.com