A demo of how to run Vega with a Postgres backend.
- Install and start Postgres.
- Create a Postgres database named
scalable_vega
. - Run
cd /path/to/dev/repos
. - Run
git clone git@github.com:heavyairship/scalable-vega.git
. - Make sure you have Python 2.7 installed (required by yarn).
- Run
cd scalable-vega
. - Run
npm install
to install dependences. - Run
yarn start
to start the web server. - In another terminal window, run
cd /path/to/dev/repos/scalable-vega
. - Run
yarn start:server
to start the application server. - Open a browser tab to localhost:1234.
- Upload the cars dataset from
/path/to/dev/repos/scalable-vega/data/cars.json
. - Upload the cars Vega spec from
/path/to/dev/repos/scalable-vega/specs/cars_average_transform_successor.json
.